Advertisement
ricky_yulianto

Untitled

Apr 14th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. tools:context="codelabs.ambarrukmo.fragment.MapStoreFragment">
  7.  
  8. <!--<include-->
  9. <!--layout="@layout/error"/>-->
  10. <!--<include-->
  11. <!--layout="@layout/loading"/>-->
  12.  
  13.  
  14. <FrameLayout
  15. android:id="@+id/container_content"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  19.  
  20.  
  21.  
  22. <android.support.v4.widget.NestedScrollView
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent">
  25.  
  26.  
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:orientation="vertical">
  31.  
  32. <android.support.v7.widget.CardView
  33. android:id="@+id/card_view_search"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_margin="3dp"
  37. app:cardBackgroundColor="@color/white"
  38. app:cardCornerRadius="2dp"
  39. app:cardUseCompatPadding="false"
  40. app:cardElevation="5dp">
  41.  
  42. <LinearLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:layout_marginBottom="10dp"
  46. android:layout_marginTop="20dp"
  47. android:background="@color/grey">
  48.  
  49. <LinearLayout
  50. android:layout_width="0dp"
  51. android:layout_height="wrap_content"
  52. android:layout_weight="1"
  53. android:layout_marginTop="0dp"
  54. android:gravity="center"
  55. android:background="@android:color/white"
  56. android:orientation="horizontal">
  57.  
  58. <SearchView
  59. android:id="@+id/searchView"
  60. android:layout_width="match_parent"
  61. android:layout_height="?attr/actionBarSize"
  62. android:background="@android:color/white"
  63. android:iconifiedByDefault="false"
  64. android:queryBackground="@android:color/transparent"
  65. android:queryHint="Input Search" />
  66.  
  67. </LinearLayout>
  68. </LinearLayout>
  69.  
  70. </android.support.v7.widget.CardView>
  71.  
  72. <android.support.v7.widget.CardView
  73. android:id="@+id/card_view_floor"
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_margin="3dp"
  77. app:cardBackgroundColor="@color/white"
  78. app:cardCornerRadius="2dp"
  79. android:layout_marginTop="10dp"
  80. app:cardUseCompatPadding="false"
  81. app:cardElevation="5dp">
  82.  
  83. <RelativeLayout
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:layout_marginLeft="10dp"
  87. android:layout_marginRight="10dp">
  88.  
  89. <TextView
  90. android:id="@+id/tv_viewfloor"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_centerVertical="true"
  94. android:layout_margin="3dp"
  95. android:text="View Floor"
  96. android:textColor="@color/grey500"
  97. android:textSize="13sp"/>
  98.  
  99. <TextView
  100. android:id="@+id/edt_floor"
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:layout_centerVertical="true"
  104. android:layout_marginStart="45dp"
  105. android:layout_marginEnd="10dp"
  106. android:background="@drawable/edittext_corner"
  107. android:hint="Select Level"
  108. android:clickable="true"
  109. android:layout_alignParentEnd="true"
  110. android:textStyle="bold"
  111. android:textColor="@android:color/holo_red_light"
  112. android:textColorHint="@color/grey500"
  113. android:textSize="13sp"/>
  114.  
  115. </RelativeLayout>
  116. </android.support.v7.widget.CardView>
  117.  
  118.  
  119.  
  120. </LinearLayout>
  121.  
  122.  
  123.  
  124. </android.support.v4.widget.NestedScrollView>
  125.  
  126. </FrameLayout>
  127.  
  128.  
  129.  
  130.  
  131. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement