|
4 | 4 | xmlns:bind="http://schemas.android.com/apk/res-auto">
|
5 | 5 |
|
6 | 6 | <data>
|
| 7 | + |
7 | 8 | <variable
|
8 | 9 | name="placeSearchViewModel"
|
9 | 10 | type="com.stop.ui.placesearch.PlaceSearchViewModel" />
|
|
58 | 59 | android:id="@+id/layout_panel"
|
59 | 60 | android:layout_width="0dp"
|
60 | 61 | android:layout_height="170dp"
|
61 |
| - android:layout_marginEnd="90dp" |
62 | 62 | android:layout_marginTop="30dp"
|
| 63 | + android:layout_marginEnd="90dp" |
63 | 64 | android:elevation="15dp"
|
64 | 65 | android:visibility="@{placeSearchViewModel.panelVisibility}"
|
65 |
| - app:layout_constraintStart_toStartOf="@id/guideline_start" |
| 66 | + app:layout_constraintBottom_toBottomOf="@id/guideline_bottom" |
66 | 67 | app:layout_constraintEnd_toEndOf="parent"
|
67 |
| - app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"> |
| 68 | + app:layout_constraintStart_toStartOf="@id/guideline_start"> |
68 | 69 |
|
69 | 70 | <include
|
70 | 71 | android:id="@+id/home_panel"
|
|
77 | 78 | android:id="@+id/layout_search"
|
78 | 79 | android:layout_width="0dp"
|
79 | 80 | android:layout_height="52dp"
|
80 |
| - android:elevation="15dp" |
81 | 81 | android:background="@drawable/background_search"
|
82 |
| - app:layout_constraintStart_toStartOf="@id/guideline_start" |
| 82 | + android:elevation="15dp" |
83 | 83 | app:layout_constraintEnd_toStartOf="@id/guideline_end"
|
| 84 | + app:layout_constraintStart_toStartOf="@id/guideline_start" |
84 | 85 | app:layout_constraintTop_toTopOf="@id/guideline_top">
|
85 | 86 |
|
86 | 87 | <TextView
|
|
91 | 92 | android:layout_marginBottom="1dp"
|
92 | 93 | android:gravity="center_vertical"
|
93 | 94 | android:text="@string/search_hint"
|
94 |
| - android:textSize="17sp" |
95 |
| - android:textColor="#808590" /> |
| 95 | + android:textColor="#808590" |
| 96 | + android:textSize="17sp" /> |
96 | 97 |
|
97 | 98 | <ImageView
|
98 | 99 | android:id="@+id/image_view_search"
|
99 | 100 | android:layout_width="wrap_content"
|
100 | 101 | android:layout_height="wrap_content"
|
101 | 102 | android:layout_marginStart="15dp"
|
| 103 | + app:layout_constraintBottom_toBottomOf="@id/layout_search" |
102 | 104 | app:layout_constraintStart_toStartOf="@id/layout_search"
|
103 | 105 | app:layout_constraintTop_toTopOf="@id/layout_search"
|
104 |
| - app:layout_constraintBottom_toBottomOf="@id/layout_search" |
105 | 106 | app:srcCompat="@drawable/ic_search" />
|
106 | 107 |
|
107 | 108 | </androidx.constraintlayout.widget.ConstraintLayout>
|
|
111 | 112 | android:layout_width="60dp"
|
112 | 113 | android:layout_height="60dp"
|
113 | 114 | android:layout_marginBottom="10dp"
|
114 |
| - android:elevation="15dp" |
115 | 115 | android:background="@drawable/background_button"
|
116 |
| - app:layout_constraintEnd_toEndOf="@id/guideline_end" |
117 |
| - app:layout_constraintBottom_toTopOf="@id/layout_current"> |
| 116 | + android:elevation="15dp" |
| 117 | + app:layout_constraintBottom_toTopOf="@id/layout_current" |
| 118 | + app:layout_constraintEnd_toEndOf="@id/guideline_end"> |
118 | 119 |
|
119 | 120 | <ImageView
|
120 | 121 | android:id="@+id/image_view_compass"
|
121 | 122 | android:layout_width="30dp"
|
122 | 123 | android:layout_height="30dp"
|
123 | 124 | android:elevation="15dp"
|
124 |
| - app:layout_constraintStart_toStartOf="@id/layout_compass" |
| 125 | + app:layout_constraintBottom_toBottomOf="@id/layout_compass" |
125 | 126 | app:layout_constraintEnd_toEndOf="@id/layout_compass"
|
| 127 | + app:layout_constraintStart_toStartOf="@id/layout_compass" |
126 | 128 | app:layout_constraintTop_toTopOf="@id/layout_compass"
|
127 |
| - app:layout_constraintBottom_toBottomOf="@id/layout_compass" |
128 | 129 | app:srcCompat="@drawable/ic_compass" />
|
129 | 130 |
|
130 | 131 | </androidx.constraintlayout.widget.ConstraintLayout>
|
|
134 | 135 | android:layout_width="60dp"
|
135 | 136 | android:layout_height="60dp"
|
136 | 137 | android:layout_marginBottom="10dp"
|
137 |
| - android:elevation="15dp" |
138 | 138 | android:background="@drawable/background_button"
|
139 |
| - app:layout_constraintEnd_toEndOf="@id/guideline_end" |
140 |
| - app:layout_constraintBottom_toTopOf="@id/layout_bookmark"> |
| 139 | + android:elevation="15dp" |
| 140 | + app:layout_constraintBottom_toBottomOf="@id/guideline_bottom" |
| 141 | + app:layout_constraintEnd_toEndOf="@id/guideline_end"> |
141 | 142 |
|
142 | 143 | <ImageView
|
143 | 144 | android:id="@+id/image_view_current"
|
144 | 145 | android:layout_width="30dp"
|
145 | 146 | android:layout_height="30dp"
|
146 | 147 | android:elevation="15dp"
|
147 |
| - app:layout_constraintStart_toStartOf="@id/layout_current" |
| 148 | + app:layout_constraintBottom_toBottomOf="@id/layout_current" |
148 | 149 | app:layout_constraintEnd_toEndOf="@id/layout_current"
|
| 150 | + app:layout_constraintStart_toStartOf="@id/layout_current" |
149 | 151 | app:layout_constraintTop_toTopOf="@id/layout_current"
|
150 |
| - app:layout_constraintBottom_toBottomOf="@id/layout_current" |
151 | 152 | app:srcCompat="@drawable/ic_location" />
|
152 | 153 |
|
153 | 154 | </androidx.constraintlayout.widget.ConstraintLayout>
|
154 | 155 |
|
155 |
| - <androidx.constraintlayout.widget.ConstraintLayout |
156 |
| - android:id="@+id/layout_bookmark" |
157 |
| - android:layout_width="60dp" |
158 |
| - android:layout_height="60dp" |
159 |
| - android:elevation="15dp" |
160 |
| - android:background="@drawable/background_button" |
161 |
| - app:layout_constraintEnd_toEndOf="@id/guideline_end" |
162 |
| - app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"> |
163 |
| - |
164 |
| - <ImageView |
165 |
| - android:id="@+id/image_view_bookmark" |
166 |
| - android:layout_width="30dp" |
167 |
| - android:layout_height="30dp" |
168 |
| - android:elevation="15dp" |
169 |
| - app:layout_constraintStart_toStartOf="@id/layout_bookmark" |
170 |
| - app:layout_constraintEnd_toEndOf="@id/layout_bookmark" |
171 |
| - app:layout_constraintTop_toTopOf="@id/layout_bookmark" |
172 |
| - app:layout_constraintBottom_toBottomOf="@id/layout_bookmark" |
173 |
| - app:srcCompat="@drawable/ic_bookmark" /> |
174 |
| - |
175 |
| - </androidx.constraintlayout.widget.ConstraintLayout> |
176 |
| - |
177 | 156 | <androidx.coordinatorlayout.widget.CoordinatorLayout
|
178 | 157 | android:layout_width="match_parent"
|
179 | 158 | android:layout_height="match_parent"
|
|
183 | 162 | android:id="@+id/layout_home_bottom_sheet"
|
184 | 163 | android:layout_width="match_parent"
|
185 | 164 | android:layout_height="match_parent"
|
186 |
| - app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" |
| 165 | + app:behavior_hideable="false" |
187 | 166 | app:behavior_peekHeight="100dp"
|
188 |
| - app:behavior_hideable="false"> |
| 167 | + app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> |
189 | 168 |
|
190 | 169 | <include
|
191 | 170 | android:id="@+id/home_bottom_sheet"
|
|
0 commit comments