tysdkn_fragment_news_info.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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:background="#ffffff"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="48dp"
  10. android:background="#FFFFFF">
  11. <ImageView
  12. android:id="@+id/tysdkn_news_info_back"
  13. android:layout_width="48dp"
  14. android:layout_height="48dp"
  15. android:padding="15dp"
  16. android:layout_centerVertical="true"
  17. android:src="@drawable/tysdkn_recahrge_back_blue_left" />
  18. <TextView
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerInParent="true"
  22. android:text="消息详情"
  23. android:textColor="#30B8FF"
  24. android:textSize="16sp" />
  25. </RelativeLayout>
  26. <View
  27. android:layout_width="match_parent"
  28. android:layout_height="1dp"
  29. android:layout_marginTop="9dp"
  30. android:layout_marginBottom="10dp"
  31. android:background="#FFEEEEEE" />
  32. <ScrollView
  33. android:scrollbars="none"
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent">
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:orientation="vertical">
  40. <TextView
  41. android:id="@+id/tysdkn_tv_news_title"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_marginLeft="12dp"
  45. android:layout_marginTop="12dp"
  46. android:text="消息标题"
  47. android:textColor="#000000"
  48. android:textSize="16sp"
  49. android:textStyle="bold" />
  50. <LinearLayout
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:layout_marginLeft="12dp"
  54. android:layout_marginTop="7dp"
  55. android:orientation="horizontal">
  56. <TextView
  57. android:id="@+id/tysdkn_news_date"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_gravity="center_vertical"
  61. android:layout_marginRight="13dp"
  62. android:text="日期"
  63. android:textColor="#757B8F"
  64. android:textSize="12sp" />
  65. <TextView
  66. android:id="@+id/tysdkn_tv_news_class"
  67. android:layout_width="34dp"
  68. android:layout_height="18dp"
  69. android:background="@drawable/tysdkn_bg_yuanjiao_5"
  70. android:gravity="center"
  71. android:text="系统"
  72. android:textColor="#ffffff"
  73. android:textSize="11sp" />
  74. </LinearLayout>
  75. <TextView
  76. android:id="@+id/tysdkn_tv_news_content"
  77. android:layout_width="match_parent"
  78. android:layout_height="match_parent"
  79. android:layout_marginLeft="12dp"
  80. android:layout_marginRight="12dp"
  81. android:layout_marginTop="10dp"
  82. android:text="消息内容"
  83. android:lineSpacingExtra="5dp"
  84. android:letterSpacing="0.1"
  85. android:textColor="#FF111111"
  86. android:textSize="14sp" />
  87. </LinearLayout>
  88. </ScrollView>
  89. </LinearLayout>