[Add] Docs linear & frame layouts (#7012)
parent
4ac9e7b12c
commit
01f5e57ef4
2 changed files with 16 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
# Frame Layout |
||||
|
||||
**FrameLayout** is a simple ViewGroup subclass in Android that is designed to hold a single child view or a stack of overlapping child views. It positions each child in the top-left corner by default and allows them to overlap on top of each other, which makes it useful for situations where you need to layer views on top of one another. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@Android developers: Frame Layout](https://developer.android.com/reference/android/widget/FrameLayout) |
@ -0,0 +1,9 @@ |
||||
# LinearLayout |
||||
|
||||
**LinearLayout** is a view group that aligns all children in a single directioni, vertically or horizontally. You can specify the layout direction with the `android:orientation` attribute. |
||||
|
||||
**LinearLayout** was commonly used in earlier Android development, but with the introduction of ConstraintLayout, it’s less frequently used in modern apps. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@Android developers: Linear Layout](https://developer.android.com/develop/ui/views/layout/linear) |
Loading…
Reference in new issue