Guest User

Untitled

a guest
May 26th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:orientation="vertical"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:gravity="bottom"
  6. android:paddingTop="8dp"
  7. android:paddingBottom="8dp">
  8. <LinearLayout
  9. android:orientation="horizontal"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:gravity="center">
  13. <CheckBox
  14. android:id="@+id/add_existing_creature_add_this_creature"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:paddingLeft="8dp"
  18. android:paddingRight="8dp"/>
  19.  
  20. <!-- Name of the creature -->
  21. <TextView
  22. android:id="@+id/add_existing_creature_list_item_creature_name"
  23. android:layout_width="0dp"
  24. android:layout_height="wrap_content"
  25. android:layout_weight="8"
  26. android:textAlignment="center"
  27. android:textSize="24sp"/>
  28.  
  29. <!-- Copies of the creature -->
  30. <LinearLayout
  31. android:id="@+id/existing_creature_list_item_copies_group"
  32. android:orientation="horizontal"
  33. android:layout_width="wrap_content"
  34. android:layout_height="match_parent"
  35. android:layout_weight="1"
  36. android:visibility="visible"
  37. android:padding="4dp" >
  38. <TextView
  39. android:labelFor="@+id/add_existing_creature_number_of_copies"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:text="@string/x"/>
  43. <EditText
  44. android:id="@id/add_existing_creature_number_of_copies"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:inputType="number"
  48. android:layout_gravity="bottom"
  49. android:gravity="bottom"
  50. android:padding="4dp"/>
  51. </LinearLayout>
  52. ....
  53. <!-- More XML enter code here--->
Add Comment
Please, Sign In to add comment