things_detail.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ Copyright (c) 2015. Ncomz. All Rights Reserved
  4. -->
  5. <LinearLayout
  6. xmlns:android="http://schemas.android.com/apk/res/android"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:background="@drawable/color_body_01"
  10. android:fitsSystemWindows="true"
  11. android:focusable="true"
  12. android:focusableInTouchMode="true"
  13. android:orientation="vertical">
  14. <include layout="@layout/app_toolbar"/>
  15. <RelativeLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="0dp"
  18. android:layout_weight="1">
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:orientation="vertical"
  23. >
  24. <android.support.v4.widget.SwipeRefreshLayout
  25. android:id="@+id/swiperefreshlayou"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:layout_weight="1"
  29. android:visibility="visible">
  30. <com.ntels.onecable.common.widget.CustomScrollView
  31. android:id="@+id/svBody"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_weight="1"
  35. android:fadingEdge="none">
  36. <LinearLayout
  37. android:id="@+id/llSvbody"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:paddingBottom="30dp"
  41. android:orientation="vertical">
  42. <LinearLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:orientation="vertical"
  46. android:background="@drawable/color_body_01"
  47. android:gravity="center_vertical"
  48. android:paddingBottom="15dp"
  49. android:paddingLeft="15dp"
  50. android:paddingRight="15dp"
  51. android:paddingTop="20dp">
  52. <TextView
  53. android:id="@+id/tvDeviceName"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:gravity="left"
  57. android:includeFontPadding="false"
  58. android:text="@string/layout_things_detail_02"
  59. android:textColor="@color/color_text_03"
  60. android:textSize="@dimen/size_font_03"
  61. android:textStyle="bold"/>
  62. <TextView
  63. android:id="@+id/tvUpdateAlram"
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:layout_marginTop="7dp"
  67. android:gravity="left"
  68. android:includeFontPadding="false"
  69. android:text="@string/layout_things_detail_03"
  70. android:textColor="@color/color_text_04"
  71. android:textSize="@dimen/size_font_06"
  72. android:textStyle="bold"/>
  73. </LinearLayout>
  74. <RelativeLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content">
  77. <com.ntels.onecable.common.widget.CustomViewPager
  78. android:id="@+id/vpNode_M"
  79. android:layout_width="match_parent"
  80. android:minHeight="279dp"
  81. android:layout_height="wrap_content">
  82. </com.ntels.onecable.common.widget.CustomViewPager>
  83. <LinearLayout
  84. android:id="@+id/llvpNode_M_Icon"
  85. android:layout_width="match_parent"
  86. android:layout_height="match_parent"
  87. android:layout_marginBottom="2dp"
  88. android:gravity="center_horizontal|bottom"
  89. android:orientation="horizontal">
  90. </LinearLayout>
  91. </RelativeLayout>
  92. <LinearLayout
  93. android:id="@+id/llNode_O"
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:orientation="vertical">
  97. </LinearLayout>
  98. <TextView
  99. android:id="@+id/tvNodeId"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content"
  102. android:gravity="right"
  103. android:includeFontPadding="false"
  104. android:layout_marginTop="10dp"
  105. android:paddingRight="25dp"
  106. android:text="@string/layout_things_detail_04"
  107. android:textColor="@color/color_text_03"
  108. android:textSize="@dimen/size_font_03"
  109. android:textStyle="bold"/>
  110. </LinearLayout>
  111. </com.ntels.onecable.common.widget.CustomScrollView>
  112. </android.support.v4.widget.SwipeRefreshLayout>
  113. </LinearLayout>
  114. <ImageView
  115. android:layout_width="match_parent"
  116. android:layout_height="6dp"
  117. android:layout_alignParentTop="true"
  118. android:background="@drawable/shadow_top"/>
  119. <ImageView
  120. android:layout_width="match_parent"
  121. android:layout_height="7dp"
  122. android:layout_alignParentBottom="true"
  123. android:background="@drawable/shadow_bottom"/>
  124. </RelativeLayout>
  125. <LinearLayout
  126. android:layout_width="match_parent"
  127. android:layout_height="wrap_content"
  128. android:orientation="vertical">
  129. <View
  130. style="@style/width_Divider_02"/>
  131. <LinearLayout
  132. android:layout_width="match_parent"
  133. android:layout_height="60dp"
  134. android:layout_gravity="center_horizontal"
  135. android:background="@drawable/color_bg_01"
  136. android:gravity="center">
  137. <LinearLayout
  138. android:id="@+id/llBtn1"
  139. android:layout_width="0dp"
  140. android:layout_height="match_parent"
  141. android:layout_weight="1"
  142. android:gravity="center">
  143. <TextView
  144. android:id="@+id/tvBtn1"
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:background="@null"
  148. android:includeFontPadding="false"
  149. android:text="@string/layout_close"
  150. android:textColor="@drawable/d_font_color_font_01_color_font_02"
  151. android:textSize="@dimen/size_font_05"
  152. android:textStyle="bold"/>
  153. </LinearLayout>
  154. </LinearLayout>
  155. </LinearLayout>
  156. </LinearLayout>