Skip to content

Instantly share code, notes, and snippets.

Created May 19, 2015 21:51
Show Gist options
  • Select an option

  • Save anonymous/cd7fda2fa5c4062acb92 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/cd7fda2fa5c4062acb92 to your computer and use it in GitHub Desktop.
<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>
@manyazewalm

Copy link
Copy Markdown
  1. linear layout
  2. two textview

@hamrawitberhanemeskel-sys

Copy link
Copy Markdown

it says that the parent is LinerLayout. and the children are text views. And also it says that the parent arranged it's children in a vertical column. it is also used in wrap_content that makes the box shrink and fits just right for the textsize. the two child are TestView. the orientation is vertical. each child is placed at the right spot as it says on the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment