split_popup_item.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="horizontal"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:gravity="top|center"
  7. android:weightSum="1">
  8. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  9. android:orientation="vertical"
  10. android:layout_width="wrap_content"
  11. android:layout_height="85dp"
  12. android:layout_weight="0.5"
  13. android:padding="2dp">
  14. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:orientation="vertical"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:background="@color/dark_grey"
  19. android:padding="2dp">
  20. <TextView
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:textAppearance="?android:attr/textAppearanceMedium"
  24. android:text="Title"
  25. android:id="@+id/left_title_text_view"
  26. android:textColor="#ffffff"
  27. android:layout_alignParentStart="true"
  28. android:textAlignment="textStart"
  29. android:textStyle="bold" />
  30. <TextView
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:textAppearance="?android:attr/textAppearanceSmall"
  34. android:text="Subtitle"
  35. android:id="@+id/left_subtitle_text_view"
  36. android:textColor="#ffffff"
  37. android:layout_alignParentStart="true"
  38. android:textAlignment="center"
  39. android:textIsSelectable="false" />
  40. </LinearLayout>
  41. </LinearLayout>
  42. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  43. android:orientation="vertical"
  44. android:layout_width="wrap_content"
  45. android:layout_height="85dp"
  46. android:layout_weight="0.5"
  47. android:padding="2dp">
  48. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  49. android:orientation="vertical"
  50. android:layout_width="match_parent"
  51. android:layout_height="match_parent"
  52. android:background="@color/dark_grey"
  53. android:padding="2dp">
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:textAppearance="?android:attr/textAppearanceMedium"
  58. android:text="Title"
  59. android:id="@+id/right_title_text_view"
  60. android:textColor="#ffffff"
  61. android:layout_alignParentStart="true"
  62. android:textAlignment="textStart"
  63. android:textStyle="bold" />
  64. <TextView
  65. android:layout_width="match_parent"
  66. android:layout_height="match_parent"
  67. android:textAppearance="?android:attr/textAppearanceSmall"
  68. android:text="Subtitle"
  69. android:id="@+id/right_subtitle_text_view"
  70. android:textColor="#ffffff"
  71. android:layout_alignParentStart="true"
  72. android:textAlignment="center"
  73. />
  74. </LinearLayout>
  75. </LinearLayout>
  76. </LinearLayout>