Skip to content

Instantly share code, notes, and snippets.

@carlton-noronha
Forked from anonymous/Guest list layout
Created April 18, 2019 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlton-noronha/4b8b609038632538dfc24b45beac87f4 to your computer and use it in GitHub Desktop.
Save carlton-noronha/4b8b609038632538dfc24b45beac87f4 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>
@carlton-noronha
Copy link
Author

The layout is vertical for the linear layout viewgroup.
The viewgroup is set to wrap content.
The viewgroup houses two textviews inside it.

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