tysdkn_show_dialog_dialog_code.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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="wrap_content"
  6. android:layout_height="wrap_content"
  7. android:background="@drawable/tysdkn_center_frag_bg2"
  8. android:orientation="vertical">
  9. <RelativeLayout
  10. android:layout_width="246dp"
  11. android:layout_height="90dp"
  12. android:background="@drawable/tysdkn_bg_succeed">
  13. <!--<LinearLayout-->
  14. <!--android:layout_width="match_parent"-->
  15. <!--android:layout_height="wrap_content"-->
  16. <!--android:orientation="vertical">-->
  17. <!--<ImageView-->
  18. <!--android:id="@+id/imageView"-->
  19. <!--android:layout_width="100dp"-->
  20. <!--android:layout_height="100dp"-->
  21. <!--android:layout_gravity="center"-->
  22. <!--android:layout_marginBottom="20dp"-->
  23. <!--android:layout_marginTop="20dp"-->
  24. <!--android:src="@drawable/tysdkn_code"/>-->
  25. <!--</LinearLayout>-->
  26. <ImageView
  27. android:id="@+id/tysdkn_dialog_close_code"
  28. android:layout_width="28dp"
  29. android:layout_height="15dp"
  30. android:layout_alignParentRight="true"
  31. android:layout_marginRight="8dp"
  32. android:layout_marginTop="8dp"
  33. android:src="@drawable/tysdkn_close_white"/>
  34. </RelativeLayout>
  35. <TextView
  36. android:id="@+id/tysdkn_dialog_tv1"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_gravity="center"
  40. android:layout_marginTop="10dp"
  41. android:textStyle="bold"
  42. android:gravity="center"
  43. android:text="领取成功"
  44. android:textColor="#333333"
  45. android:textSize="14sp"/>
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="5dp"
  50. android:layout_marginBottom="5dp"
  51. android:gravity="center"
  52. android:orientation="horizontal">
  53. <TextView
  54. android:id="@+id/tysdkn_dialog_tv2"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="礼包码: "
  58. android:textSize="12sp"
  59. android:textColor="#999999"/>
  60. <TextView
  61. android:id="@+id/tysdkn_dialog_code"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:lines="1"
  65. android:ellipsize="end"
  66. android:textColor="#E6454A"
  67. android:textSize="12sp"
  68. tools:text="123456"/>
  69. </LinearLayout>
  70. <View
  71. android:layout_width="match_parent"
  72. android:layout_height="0.5dp"
  73. android:layout_marginTop="5dp"
  74. android:background="#dcdcdc"/>
  75. <TextView
  76. android:id="@+id/tysdkn_dialog_copy"
  77. android:layout_width="match_parent"
  78. android:paddingBottom="8dp"
  79. android:paddingTop="8dp"
  80. android:layout_height="wrap_content"
  81. android:gravity="center"
  82. android:textSize="14sp"
  83. android:text="复制激活码"
  84. android:textColor="#E6454A"/>
  85. </LinearLayout>