mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
663 B
663 B
- A viewgroup can be something like LinearLayout, or FrameLayout
- Otherwise known as Layouts and Layout Managers
layout_*is an attribute in a view that communicates to the parent viewgroup how it wants to be layed out.layout_widthlayout_height- can be in px, in, mm, dp, match_parent, or wrap_content
layout_weightcan give each item a proportion of how big it'll be, in a LinearLayout. GridLayout is similar but in 2 dimensions.- RelativeLayout is my preferred layout. You describe it's position relative to another.
- FrameLayout is for any dynamically added object (fragments or widgets)
