Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="text1"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="text2text2"/>
- </LinearLayout>
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/blue"
- android:text="Base TextView" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/red"
- android:text="Much Longer than top textView" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement