tysdkn_show_dialog_messge.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_bg2"
  9. android:orientation="vertical">
  10. <RelativeLayout
  11. android:layout_width="match_parent"
  12. android:layout_marginTop="10dp"
  13. android:layout_height="wrap_content">
  14. <TextView
  15. android:id="@+id/tysdkn_dialog_message_title"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerInParent="true"
  19. android:text="积分说明"
  20. android:textColor="#333333"
  21. android:textSize="18sp"/>
  22. <ImageView
  23. android:id="@+id/tysdkn_dialog_message_close"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_alignParentRight="true"
  27. android:layout_centerInParent="true"
  28. android:layout_marginRight="20dp"
  29. android:src="@drawable/tysdkn_close_black"/>
  30. </RelativeLayout>
  31. <TextView
  32. android:id="@+id/tysdkn_dialog_message_content"
  33. android:layout_width="match_parent"
  34. android:layout_height="0dp"
  35. android:layout_marginBottom="10dp"
  36. android:layout_marginLeft="20dp"
  37. android:layout_marginRight="20dp"
  38. android:layout_marginTop="10dp"
  39. android:layout_weight="1"
  40. android:textColor="#333333"
  41. android:ellipsize="end"
  42. android:lineSpacingExtra="9dp"
  43. android:textSize="16sp"
  44. tools:text="积分可以去兑换宇币跟实物,宇币可以直接在游戏中使用,也可以给好友发红包,跟人民币等同效果。实物兑换需要填写兑换的商品跟邮件详细地址。"/>
  45. <View
  46. android:layout_width="match_parent"
  47. android:layout_height="0.5dp"
  48. android:background="#dcdcdc"/>
  49. <TextView
  50. android:id="@+id/tysdkn_dialog_message_konw"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:gravity="center"
  54. android:paddingBottom="17dp"
  55. android:paddingTop="17dp"
  56. android:text="我知道了"
  57. android:textColor="#F0A510"
  58. android:textSize="16sp"/>
  59. </LinearLayout>