bdp_dialog_confirm.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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="match_parent"
  5. android:background="@drawable/bdp_bg_white_round"
  6. android:gravity="center_horizontal"
  7. android:orientation="vertical"
  8. android:paddingLeft="22dp"
  9. android:paddingRight="22dp"
  10. android:paddingTop="14dp" >
  11. <TextView
  12. android:id="@+id/txtTitle"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_marginBottom="17dp"
  16. android:text="@string/bdp_tips"
  17. android:textColor="@color/bdp_dark_gray"
  18. android:textSize="18sp" />
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:gravity="center"
  23. android:orientation="vertical" >
  24. <!-- 内容文字 -->
  25. <TextView
  26. android:id="@+id/txtContent"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_marginBottom="20dip"
  30. android:textColor="@color/bdp_dark_gray"
  31. android:textSize="16sp" />
  32. <View
  33. android:layout_width="match_parent"
  34. android:layout_height="1px"
  35. android:background="#cccccc" />
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:orientation="horizontal" >
  40. <!-- 按钮A -->
  41. <Button
  42. android:id="@+id/btnA"
  43. android:layout_width="0dip"
  44. android:layout_height="56dp"
  45. android:layout_weight="1"
  46. android:background="@drawable/bdp_color_white__without_corners_selector"
  47. android:textColor="#cfcfcf"
  48. android:textSize="16sp"
  49. android:visibility="visible" />
  50. <!-- 按钮B -->
  51. <View
  52. android:layout_width="1px"
  53. android:layout_height="match_parent"
  54. android:layout_marginBottom="15dp"
  55. android:layout_marginTop="15dp"
  56. android:background="#c6c6c6" />
  57. <Button
  58. android:id="@+id/btnB"
  59. android:layout_width="0dip"
  60. android:layout_height="56dp"
  61. android:layout_weight="1"
  62. android:background="@drawable/bdp_color_white__without_corners_selector"
  63. android:textColor="#e5006a"
  64. android:textSize="16sp"
  65. android:visibility="visible" />
  66. </LinearLayout>
  67. </LinearLayout>
  68. </LinearLayout>