simple_popup_item.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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"
  4. android:layout_height="wrap_content"
  5. android:padding="0dp"
  6. android:gravity="top|center"
  7. android:baselineAligned="false" android:orientation="vertical">
  8. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:padding="10dp"
  12. android:id="@+id/popup_item_container">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:textAppearance="?android:attr/textAppearanceMedium"
  17. android:id="@+id/title_text_view"
  18. android:textColor="#ffffff"
  19. android:textAlignment="textStart"
  20. android:textStyle="bold" android:layout_alignBaseline="@+id/isSelectedButton"
  21. android:layout_alignBottom="@+id/isSelectedButton" android:layout_alignParentLeft="true"
  22. android:layout_alignParentStart="true"/>
  23. <RadioButton
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:id="@+id/isSelectedButton"
  27. android:checked="true" android:layout_alignParentTop="true"
  28. android:layout_alignParentRight="true" android:layout_alignParentEnd="true"/>
  29. </RelativeLayout>
  30. <View
  31. android:layout_width="fill_parent"
  32. android:layout_height="1dp"
  33. android:background="@android:color/darker_gray"
  34. android:id="@+id/bottom_seperator"
  35. />
  36. </LinearLayout>