Use layout editor effectively on layouts with non-static fragments

后端 未结 1 1286
没有蜡笔的小新
没有蜡笔的小新 2021-01-12 21:04

With all the Android development tools greatness, especially as of version 21, the graphical layout editor is a powerful tool to have visual control over a layout with fragm

相关标签:
1条回答
  • 2021-01-12 22:00

    It looks, according to the documentation for FrameLayout, like there is an attribute you can use on the FrameLayout tag to put a drawable in the foreground of the ViewGroup.

    You could use this to see the FrameLayout whilst you are setting up your view. I often just put a colour in so I can see where it is relative to the background and other Views.

    0 讨论(0)
提交回复
热议问题