Advertisement
ricky_yulianto

Untitled

Jul 21st, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.34 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. tools:context="codelabs.ambarrukmo.fragment.MapStoreFragment">
  9.  
  10.  
  11. <android.support.v4.widget.NestedScrollView
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. tools:layout_editor_absoluteX="97dp"
  15. tools:layout_editor_absoluteY="471dp">
  16.  
  17.  
  18. <android.support.constraint.ConstraintLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent">
  21.  
  22. <android.support.v7.widget.CardView
  23. android:id="@+id/card_search"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:layout_marginStart="10dp"
  27. android:layout_marginTop="0dp"
  28. android:layout_marginEnd="10dp"
  29. app:cardElevation="0dp"
  30. app:cardUseCompatPadding="false"
  31. app:layout_constraintEnd_toEndOf="parent"
  32. app:layout_constraintStart_toStartOf="parent"
  33. app:layout_constraintTop_toTopOf="parent">
  34.  
  35. <LinearLayout
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_marginTop="20dp"
  39. android:layout_marginBottom="10dp"
  40. android:background="@color/grey">
  41.  
  42. <LinearLayout
  43. android:layout_width="0dp"
  44. android:layout_height="wrap_content"
  45. android:layout_marginTop="0dp"
  46. android:layout_weight="1"
  47. android:background="@android:color/white"
  48. android:gravity="center"
  49. android:orientation="horizontal">
  50.  
  51. <SearchView
  52. android:id="@+id/searchView"
  53. android:layout_width="match_parent"
  54. android:layout_height="?attr/actionBarSize"
  55. android:background="@color/white_pressed"
  56. android:iconifiedByDefault="false"
  57. android:queryBackground="@android:color/transparent"
  58. android:queryHint="Search what do you want it!" />
  59.  
  60. </LinearLayout>
  61. </LinearLayout>
  62. </android.support.v7.widget.CardView>
  63.  
  64.  
  65. <android.support.v7.widget.CardView
  66. android:id="@+id/card_slct_floor"
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_marginStart="10dp"
  70. android:layout_marginTop="10dp"
  71. android:layout_marginEnd="10dp"
  72. app:cardElevation="1dp"
  73. app:cardUseCompatPadding="false"
  74. app:layout_constraintEnd_toEndOf="@id/card_search"
  75. app:layout_constraintStart_toStartOf="@id/card_search"
  76. app:layout_constraintTop_toBottomOf="@+id/card_search">
  77.  
  78. <RelativeLayout
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. android:padding="0dp"
  82. android:layout_marginTop="10dp"
  83. android:layout_marginBottom="10dp"
  84. android:layout_marginLeft="10dp"
  85. android:layout_marginRight="10dp">
  86.  
  87. <TextView
  88. android:id="@+id/tv_viewfloor"
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:layout_centerVertical="true"
  92. android:layout_margin="3dp"
  93. android:fontFamily="@font/poppins_regular"
  94. android:text="View Floor"
  95. android:textColor="@android:color/black"
  96. android:textSize="13sp" />
  97.  
  98. <Spinner
  99. android:id="@+id/spinner"
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102. android:layout_alignParentEnd="true">
  103.  
  104.  
  105.  
  106.  
  107.  
  108. </Spinner>
  109.  
  110. <!--<TextView-->
  111. <!--android:id="@+id/edt_floor"-->
  112. <!--android:layout_width="wrap_content"-->
  113. <!--android:layout_height="wrap_content"-->
  114. <!--android:layout_alignParentEnd="true"-->
  115. <!--android:layout_centerVertical="true"-->
  116. <!--android:layout_marginEnd="10dp"-->
  117. <!--android:background="@drawable/edittext_corner"-->
  118. <!--android:clickable="true"-->
  119. <!--android:fontFamily="@font/poppins_semibold"-->
  120. <!--android:drawableEnd="@drawable/maps_dropdown"-->
  121. <!--android:drawablePadding="5dp"-->
  122. <!--android:text="Level 1"-->
  123. <!--android:textColor="@android:color/holo_red_light"-->
  124. <!--android:textColorHint="@color/grey500"-->
  125. <!--android:textSize="14sp"-->
  126. <!--android:textStyle="bold" />-->
  127.  
  128. </RelativeLayout>
  129.  
  130. </android.support.v7.widget.CardView>
  131.  
  132.  
  133.  
  134. <LinearLayout
  135. android:layout_width="match_parent"
  136. android:layout_height="400dp"
  137. android:background="@android:color/white"
  138. android:orientation="vertical"
  139. android:layout_marginTop="20dp"
  140. app:layout_constraintBottom_toBottomOf="parent"
  141. app:layout_constraintEnd_toEndOf="@id/card_slct_floor"
  142. app:layout_constraintHorizontal_bias="0.0"
  143. app:layout_constraintStart_toStartOf="@id/card_slct_floor"
  144. app:layout_constraintTop_toBottomOf="@+id/card_slct_floor"
  145. app:layout_constraintVertical_bias="1.0">
  146.  
  147. <com.github.chrisbanes.photoview.PhotoView
  148. android:id="@+id/img_maps"
  149. android:layout_width="match_parent"
  150. android:layout_height="match_parent"
  151. android:src="@drawable/img_mall_maps"
  152. android:layout_gravity="top" />
  153. </LinearLayout>
  154.  
  155.  
  156.  
  157. <!--<ImageView-->
  158. <!--android:visibility="gone"-->
  159. <!--android:layout_width="0dp"-->
  160. <!--android:layout_height="246dp"-->
  161. <!--android:layout_marginBottom="8dp"-->
  162. <!--android:layout_marginTop="60dp"-->
  163. <!--android:src="@drawable/img_mall_maps"-->
  164. <!--app:layout_constraintBottom_toBottomOf="parent"-->
  165. <!--app:layout_constraintEnd_toEndOf="@id/card_slct_floor"-->
  166. <!--app:layout_constraintHorizontal_bias="0.0"-->
  167. <!--app:layout_constraintStart_toStartOf="@id/card_slct_floor"-->
  168. <!--app:layout_constraintTop_toBottomOf="@+id/card_slct_floor"-->
  169. <!--app:layout_constraintVertical_bias="1.0" />-->
  170.  
  171.  
  172. </android.support.constraint.ConstraintLayout>
  173.  
  174.  
  175. </android.support.v4.widget.NestedScrollView>
  176.  
  177.  
  178.  
  179. <RelativeLayout
  180. android:layout_width="match_parent"
  181. android:layout_height="wrap_content"
  182. android:layout_marginLeft="10dp"
  183. android:layout_marginRight="10dp"
  184. android:layout_marginBottom="10dp"
  185. app:layout_constraintBottom_toBottomOf="parent"
  186. app:layout_constraintEnd_toEndOf="parent"
  187. app:layout_constraintStart_toStartOf="parent">
  188.  
  189. <!--<TextView-->
  190. <!--android:id="@+id/tv_note_map"-->
  191. <!--android:layout_width="wrap_content"-->
  192. <!--android:layout_height="wrap_content"-->
  193. <!--android:layout_centerVertical="true"-->
  194. <!--android:layout_marginStart="3dp"-->
  195. <!--android:layout_marginTop="3dp"-->
  196. <!--android:layout_marginEnd="-34dp"-->
  197. <!--android:layout_marginBottom="3dp"-->
  198. <!--android:layout_toStartOf="@+id/btn_info_map"-->
  199. <!--android:text="@string/loremipsum"-->
  200. <!--android:textColor="@color/grey500"-->
  201. <!--android:textSize="12sp" />-->
  202.  
  203. <ImageView
  204. android:id="@+id/btn_info_map"
  205. android:layout_width="wrap_content"
  206. android:layout_height="wrap_content"
  207. android:layout_centerVertical="true"
  208. android:layout_marginStart="45dp"
  209. android:layout_marginEnd="10dp"
  210. android:src="@drawable/ic_info"
  211. android:clickable="true"
  212. android:layout_alignParentEnd="true" />
  213.  
  214. </RelativeLayout>
  215.  
  216. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement