Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <LinearLayout
  2. android:layout_width="wrap_content"
  3. android:layout_height="wrap_content"
  4. android:orientation="vertical">
  5. <TextView
  6. android:layout_width="match_parent"
  7. android:layout_height="wrap_content"
  8. android:text="text1"/>
  9. <TextView
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:text="text2text2"/>
  13. </LinearLayout>
  14.  
  15. <?xml version="1.0" encoding="utf-8"?>
  16. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:orientation="vertical">
  20.  
  21. <TextView
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:background="@color/blue"
  25. android:text="Base TextView" />
  26.  
  27. <TextView
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:background="@color/red"
  31. android:text="Much Longer than top textView" />
  32.  
  33. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement