1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-29 20:21:50 +02:00

[Add] Docs linear & frame layouts (#7012)

This commit is contained in:
Brian Rodriguez
2024-09-06 03:25:48 -05:00
committed by GitHub
parent 4ac9e7b12c
commit 01f5e57ef4
2 changed files with 16 additions and 0 deletions

View File

@@ -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)

View File

@@ -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, its 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)