upsdk_ota_update_view.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:orientation="vertical">
  10. <ScrollView
  11. android:id="@+id/scroll_layout"
  12. android:layout_width="match_parent"
  13. android:layout_height="0dp"
  14. android:layout_weight="1"
  15. android:paddingLeft="24dp"
  16. android:paddingRight="24dp"
  17. android:scrollbarStyle="outsideOverlay">
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:orientation="vertical">
  22. <ImageView
  23. android:id="@+id/divider"
  24. android:layout_width="match_parent"
  25. android:layout_height="16dp" />
  26. <LinearLayout
  27. android:id="@+id/name_layout"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginBottom="@dimen/upsdk_margin_xs"
  31. android:orientation="horizontal">
  32. <TextView
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:text="@string/upsdk_ota_app_name"
  36. android:textColor="@color/upsdk_color_gray_10"
  37. android:textSize="@dimen/upsdk_master_subtitle" />
  38. <TextView
  39. android:id="@+id/name_textview"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginStart="@dimen/upsdk_margin_m"
  43. android:layout_marginLeft="@dimen/upsdk_margin_m"
  44. android:fontFamily="HwChinese-medium"
  45. android:textColor="@color/upsdk_color_gray_10"
  46. android:textSize="@dimen/upsdk_master_subtitle" />
  47. </LinearLayout>
  48. <LinearLayout
  49. android:id="@+id/version_layout"
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:layout_marginBottom="@dimen/upsdk_margin_xs"
  53. android:orientation="horizontal">
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="@string/upsdk_app_version"
  58. android:textColor="@color/upsdk_color_gray_10"
  59. android:textSize="@dimen/upsdk_master_subtitle" />
  60. <TextView
  61. android:id="@+id/version_textview"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_marginStart="@dimen/upsdk_margin_m"
  65. android:layout_marginLeft="@dimen/upsdk_margin_m"
  66. android:fontFamily="HwChinese-medium"
  67. android:textColor="@color/upsdk_color_gray_10"
  68. android:textSize="@dimen/upsdk_master_subtitle" />
  69. </LinearLayout>
  70. <LinearLayout
  71. android:id="@+id/size_layout"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:orientation="horizontal">
  75. <TextView
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:text="@string/upsdk_app_size"
  79. android:textColor="@color/upsdk_color_gray_10"
  80. android:textSize="@dimen/upsdk_master_subtitle" />
  81. <TextView
  82. android:id="@+id/appsize_textview"
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:layout_marginStart="@dimen/upsdk_margin_m"
  86. android:layout_marginLeft="@dimen/upsdk_margin_m"
  87. android:fontFamily="HwChinese-medium"
  88. android:textColor="@color/upsdk_color_gray_10"
  89. android:textSize="@dimen/upsdk_master_subtitle" />
  90. <TextView
  91. android:id="@+id/allsize_textview"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:layout_marginStart="@dimen/upsdk_margin_m"
  95. android:layout_marginLeft="@dimen/upsdk_margin_m"
  96. android:fontFamily="HwChinese-medium"
  97. android:textColor="@color/upsdk_color_gray_10"
  98. android:textSize="@dimen/upsdk_master_subtitle" />
  99. </LinearLayout>
  100. <LinearLayout
  101. android:id="@+id/content_layout"
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:orientation="vertical">
  105. <TextView
  106. android:layout_width="match_parent"
  107. android:layout_height="wrap_content"
  108. android:layout_marginTop="@dimen/upsdk_margin_l"
  109. android:gravity="start"
  110. android:text="@string/upsdk_detail"
  111. android:textAlignment="viewStart"
  112. android:textColor="@color/upsdk_color_gray_10"
  113. android:textSize="@dimen/upsdk_master_subtitle" />
  114. <TextView
  115. android:id="@+id/content_textview"
  116. android:layout_width="match_parent"
  117. android:layout_height="wrap_content"
  118. android:layout_marginTop="@dimen/upsdk_margin_m"
  119. android:gravity="start"
  120. android:lineSpacingMultiplier="1.1"
  121. android:textAlignment="viewStart"
  122. android:textColor="@color/upsdk_color_gray_10"
  123. android:textSize="@dimen/upsdk_master_body_2" />
  124. </LinearLayout>
  125. </LinearLayout>
  126. </ScrollView>
  127. </LinearLayout>
  128. </LinearLayout>