tysdkn_show_dialog_dialog.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="300dp"
  6. android:layout_height="230dp"
  7. android:layout_gravity="center"
  8. android:background="@drawable/tysdkn_center_frag_bg"
  9. android:orientation="vertical">
  10. <RelativeLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content">
  13. <ImageView
  14. android:id="@+id/tysdkn_only_dialog_close"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentRight="true"
  18. android:layout_marginRight="10dp"
  19. android:layout_marginTop="10dp"
  20. android:src="@drawable/tysdkn_close_black"/>
  21. </RelativeLayout>
  22. <RelativeLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content">
  25. <ImageView
  26. android:id="@+id/tysdkn_only_dialog_icon"
  27. android:layout_width="60dp"
  28. android:layout_height="60dp"
  29. android:layout_centerInParent="true"
  30. android:src="@drawable/tysdkn_succ"/>
  31. </RelativeLayout>
  32. <TextView
  33. android:id="@+id/tysdkn_only_dialog_tv1"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:gravity="center"
  37. android:layout_gravity="center"
  38. android:layout_marginTop="10dp"
  39. android:ellipsize="end"
  40. android:maxLines="1"
  41. android:textColor="#111111"
  42. android:textSize="20dp"
  43. tools:text="修改成功"/>
  44. <TextView
  45. android:id="@+id/tysdkn_only_dialog_tv2"
  46. android:layout_width="match_parent"
  47. android:gravity="center"
  48. android:layout_height="wrap_content"
  49. android:layout_gravity="center"
  50. android:layout_marginTop="10dp"
  51. android:ellipsize="end"
  52. android:maxLines="1"
  53. android:layout_marginBottom="10dp"
  54. android:textSize="12sp"
  55. tools:text="请妥善保管好您的密码 谨防被盗!"/>
  56. <RelativeLayout
  57. android:layout_width="match_parent"
  58. android:layout_height="0dp"
  59. android:layout_weight="1">
  60. <TextView
  61. android:id="@+id/tysdkn_only_dialog_tv3"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:background="#30B8FF"
  65. android:ellipsize="end"
  66. android:maxLines="1"
  67. android:paddingBottom="10dp"
  68. android:paddingLeft="60dp"
  69. android:paddingRight="60dp"
  70. android:paddingTop="10dp"
  71. android:text="确认"
  72. android:textColor="#ffffff"
  73. android:layout_centerVertical="true"
  74. android:layout_centerHorizontal="true"/>
  75. </RelativeLayout>
  76. </LinearLayout>