simple_popup_item.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:padding="2dp"
  6. android:gravity="top|center"
  7. android:baselineAligned="false">
  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:background="@color/dark_grey"
  12. android:padding="10dp">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:textAppearance="?android:attr/textAppearanceMedium"
  17. android:text="Title"
  18. android:id="@+id/title_text_view"
  19. android:textColor="#ffffff"
  20. android:layout_alignParentTop="true"
  21. android:layout_toLeftOf="@+id/isSelectedButton"
  22. android:layout_alignParentLeft="true"
  23. android:layout_alignParentStart="true"
  24. android:layout_alignBottom="@+id/isSelectedButton"
  25. android:textAlignment="textStart"
  26. android:textStyle="bold" />
  27. <RadioButton
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:id="@+id/isSelectedButton"
  31. android:layout_alignParentTop="true"
  32. android:layout_alignParentRight="true"
  33. android:layout_alignParentEnd="true"
  34. android:clickable="false"
  35. android:checked="true"
  36. android:enabled="false"
  37. android:button="@drawable/rd_btn_off"
  38. />
  39. </RelativeLayout>
  40. </RelativeLayout>