dialog_exit.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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="200dp"
  5. android:orientation="vertical"
  6. android:gravity="center_horizontal"
  7. android:background="@drawable/shape_bg_operate" >
  8. <TextView
  9. android:id="@+id/tv_dialog_title"
  10. android:layout_width="match_parent"
  11. android:layout_height="50dp"
  12. android:text="@string/label_title"
  13. android:gravity="center"
  14. android:background="@drawable/shape_bg_top_radius_grey"/>
  15. <View
  16. android:layout_width="match_parent"
  17. android:layout_height="1px"
  18. android:background="@color/grey_line" />
  19. <TextView
  20. android:id="@+id/tv_dialog_desc"
  21. android:layout_width="match_parent"
  22. android:layout_height="100dp"
  23. android:text="@string/label_desc"
  24. android:background="@color/white"
  25. android:textColor="@color/grey_text"
  26. android:gravity="center"/>
  27. <View
  28. android:layout_width="match_parent"
  29. android:layout_height="1px"
  30. android:background="@color/grey_line" />
  31. <LinearLayout
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:orientation="horizontal" >
  35. <TextView
  36. android:id="@+id/tv_confirm"
  37. android:layout_width="0dp"
  38. android:layout_weight="1"
  39. android:layout_height="match_parent"
  40. android:text="@string/label_confirm"
  41. android:gravity="center"
  42. android:padding="10dp"
  43. android:clickable="true"
  44. android:textColor="@color/blue_dark"
  45. android:background="@drawable/selector_btn_left_down_customed" />
  46. <View
  47. android:layout_width="1px"
  48. android:layout_height="match_parent"
  49. android:background="@color/grey_line" />
  50. <TextView
  51. android:id="@+id/tv_cancel"
  52. android:layout_width="0dp"
  53. android:layout_weight="1"
  54. android:layout_height="match_parent"
  55. android:text="@string/label_cancel"
  56. android:gravity="center"
  57. android:padding="10dp"
  58. android:clickable="true"
  59. android:textColor="@color/blue_dark"
  60. android:background="@drawable/selector_btn_right_down_customed" />
  61. </LinearLayout>
  62. </LinearLayout>