bdp_activity_error_dilog.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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:layout_margin="18dp"
  6. android:background="@drawable/bdp_bg_white_round"
  7. android:gravity="center_horizontal"
  8. android:orientation="vertical" >
  9. <TextView
  10. android:id="@+id/txtTitle"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_marginBottom="17dp"
  14. android:text="@string/bdp_tips"
  15. android:textColor="@color/bdp_deep_gray"
  16. android:textSize="14sp"
  17. android:visibility="gone" />
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:gravity="center"
  22. android:orientation="vertical" >
  23. <!-- 内容文字 -->
  24. <TextView
  25. android:id="@+id/txtContent"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginBottom="25dp"
  29. android:layout_marginLeft="15dp"
  30. android:layout_marginRight="15dp"
  31. android:layout_marginTop="40dp"
  32. android:text="您的游戏存在安全风险,请使用官方安装程序,以免造成损失。"
  33. android:textColor="@color/bdp_deep_gray"
  34. android:textSize="16sp" />
  35. <View
  36. android:layout_width="match_parent"
  37. android:layout_height="1px"
  38. android:background="#cccccc" />
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:orientation="horizontal" >
  43. <!-- 按钮A -->
  44. <Button
  45. android:id="@+id/btnA"
  46. android:layout_width="0dip"
  47. android:layout_height="56dp"
  48. android:layout_weight="1"
  49. android:background="@drawable/bdp_color_white__without_corners_selector"
  50. android:onClick="click"
  51. android:textColor="#cfcfcf"
  52. android:textSize="16sp"
  53. android:visibility="visible" />
  54. <!-- 按钮B -->
  55. <View
  56. android:id="@+id/temp_line"
  57. android:layout_width="1px"
  58. android:layout_height="match_parent"
  59. android:layout_marginBottom="15dp"
  60. android:layout_marginTop="15dp"
  61. android:background="#c6c6c6" />
  62. <Button
  63. android:id="@+id/btnB"
  64. android:layout_width="0dip"
  65. android:layout_height="56dp"
  66. android:layout_marginLeft="12dip"
  67. android:layout_weight="1"
  68. android:background="@drawable/bdp_color_white__without_corners_selector"
  69. android:onClick="clickTwo"
  70. android:textColor="#e5006a"
  71. android:textSize="16sp"
  72. android:visibility="visible" />
  73. </LinearLayout>
  74. </LinearLayout>
  75. </LinearLayout>