split_popup_item.xml 3.9 KB

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