Android Layout
Setting : Android Studio using JAVA
Layout
- define the structure for a user interface in you app (e.g. activity)
- All elements built using a hierarchy of
View
andViewGroup
objects View
objects == widgets e.g. Button, TextViewViewGroup
pbjects == Layout e.g. LinearLayout, ConstraintLayout
How to Declare a Layout
Declare UI elements in XML
Instanitale layout elements at runtime
Reference
- what is interface?