bdp_update_activity_confirm_dialog.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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:orientation="vertical"
  6. android:background="@null" >
  7. <TextView
  8. android:id="@+id/txt_title"
  9. android:layout_width="match_parent"
  10. android:layout_height="40dip"
  11. android:paddingLeft="18dip"
  12. android:gravity="center_vertical"
  13. android:textColor="#ffffffff"
  14. android:textSize="16sp"
  15. android:background="@drawable/bdp_update_bg_dialog_title"
  16. />
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:paddingLeft="18dip"
  21. android:paddingRight="18dip"
  22. android:paddingTop="16dip"
  23. android:paddingBottom="14dip"
  24. android:background="@drawable/bdp_update_bg_dialog_content"
  25. android:orientation="vertical">
  26. <TextView
  27. android:id="@+id/txt_main_tip"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginBottom="14dip"
  31. android:singleLine="true"
  32. android:ellipsize="end"
  33. android:textColor="#ff58b6ff"
  34. android:textSize="14sp"
  35. />
  36. <ScrollView
  37. android:layout_width="match_parent"
  38. android:layout_height="64dip"
  39. android:layout_marginBottom="10dip"
  40. android:fadingEdge="vertical"
  41. android:fadingEdgeLength="20dip"
  42. android:requiresFadingEdge="vertical"
  43. >
  44. <TextView
  45. android:id="@+id/txt_minor_tip"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:textColor="#ff333333"
  49. android:textSize="13sp"
  50. />
  51. </ScrollView>
  52. <Button
  53. android:id="@+id/btn_action_1"
  54. android:layout_width="match_parent"
  55. android:layout_height="40dip"
  56. android:layout_marginBottom="10dip"
  57. android:textColor="#ffffffff"
  58. android:textSize="14sp"
  59. android:background="@drawable/bdp_update_bg_dialog_btn"
  60. />
  61. <LinearLayout
  62. android:id="@+id/lin_other_btns"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:weightSum="2"
  66. android:gravity="center"
  67. android:orientation="horizontal">
  68. <TextView
  69. android:id="@+id/txt_action_2"
  70. android:layout_width="0dip"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:textColor="#ffabbed9"
  74. android:textSize="13sp"
  75. android:gravity="center"
  76. android:text="@string/bdp_update_not_now"
  77. />
  78. <TextView
  79. android:id="@+id/txt_action_3"
  80. android:layout_width="0dip"
  81. android:layout_height="wrap_content"
  82. android:layout_weight="1"
  83. android:textColor="#ffabbed9"
  84. android:textSize="13sp"
  85. android:gravity="center"
  86. android:text="@string/bdp_update_ignore"
  87. />
  88. </LinearLayout>
  89. </LinearLayout>
  90. </LinearLayout>