popup_window_exit.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/rl_popup_window"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#8000" >
  7. <LinearLayout
  8. android:layout_width="271dp"
  9. android:layout_height="165dp"
  10. android:layout_centerInParent="true"
  11. android:background="@drawable/approve_opinion_popup_window_background"
  12. android:clickable="true"
  13. android:orientation="vertical" >
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="51dp" >
  17. <TextView
  18. android:id="@+id/tv_popup_window_title"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerHorizontal="true"
  22. android:layout_marginTop="22dp"
  23. android:text="退出程序"
  24. android:textColor="#000"
  25. android:textSize="16sp" />
  26. </RelativeLayout>
  27. <RelativeLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="70dp" >
  30. <TextView
  31. android:id="@+id/tv_popup_window_message"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_centerHorizontal="true"
  35. android:layout_marginTop="22dp"
  36. android:text=""
  37. android:textColor="#000"
  38. android:textSize="14sp" />
  39. </RelativeLayout>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:orientation="horizontal" >
  44. <RelativeLayout
  45. android:id="@+id/ll_ok"
  46. android:layout_width="0dp"
  47. android:layout_height="match_parent"
  48. android:layout_weight="1"
  49. android:clickable="true" >
  50. <TextView
  51. android:id="@+id/tv_popup_window_ok"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_centerInParent="true"
  55. android:text="确定"
  56. android:textColor="#df00"
  57. android:textSize="14sp" />
  58. </RelativeLayout>
  59. <View
  60. android:layout_width="0.5dp"
  61. android:layout_height="match_parent"
  62. android:layout_marginTop="10dp"
  63. android:background="#1000" />
  64. <RelativeLayout
  65. android:id="@+id/ll_cancel"
  66. android:layout_width="0dp"
  67. android:layout_height="match_parent"
  68. android:layout_weight="1"
  69. android:clickable="true" >
  70. <TextView
  71. android:id="@+id/tv_popup_window_cancel"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_centerInParent="true"
  75. android:text="取消"
  76. android:textColor="#000"
  77. android:textSize="14sp" />
  78. </RelativeLayout>
  79. </LinearLayout>
  80. </LinearLayout>
  81. </RelativeLayout>