Created
May 19, 2015 21:51
-
Star
(166)
You must be signed in to star a gist -
Fork
(150)
You must be signed in to fork a gist
-
-
Save anonymous/cd7fda2fa5c4062acb92 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> |
megersayedin
commented
Mar 8, 2025
<script src="https://gist.github.com/anonymous/cd7fda2fa5c4062acb92.js"></script>
One parent view: LinearLayout
Two children views: TextView
Linear layout orientation: vertical Height and width: wrap content
Separate opening and closing tag used
Parent view is in Linear layout and Vertical orientation
Within it are 2 child TextViews
Width and Height of both parent and child views is set to automatically resize by the special code wrap_content
linearLayout is a parent view
TextView is a child
- one parent view group
- two child view
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment