Created
May 19, 2015 21:51
-
-
Save anonymous/cd7fda2fa5c4062acb92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:text="Guest List" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
<TextView | |
android:text="Kunal" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
</LinearLayout> |
The parent group (LinearLayout) has three configurations: orientation is vertical and width and height layouts that are both wrap content. Both of TextViews have width and height layouts set to wrap content and a text config thats contains the text thats appears on the screen.
- Linear layout is a viewGroup. its orientation is in vertical fashion.
- one of the child group is a textGroup.
3)Other child group is also a textgroup.
- existen un ViewGroups padre con 2 vistas (TextView )
- se determina la posición ( android:orientation="vertical")
- al ancho y alto de la vista padre esta determinada en ("wrap_content") para que le contenido se ajutes.
- I prefer Relative layout over LinearLayout after using
- Parent view orientation is set as vertical to allow for vertical stacking
- Each text views are placed according to the order they are given in the parent layout
- Parent view is LinearLayout
1- ViewGroupe is LinearLayout
2- orientation vertical
3- two child
- ViewGroup it's a element "LinearLayout".
- The sentence indicates that the orientation of the childs contained within the ViewGroup, wil be aligned vertically.
- The 2 childs elements are "TextView".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parent view is linear and it has 2 child views. Opening and closing of parent view and child view is same i.e. through angle braces and forth slash.