Skip to content

Commit a0325ed

Browse files
committed
refactor: home_bottom_sheet가 화면 최상단에 오도록 변경
1 parent b370f1c commit a0325ed

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

presentation/src/main/res/layout/fragment_map.xml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,11 @@
9191
android:layout_height="30dp"
9292
android:layout_marginStart="10dp"
9393
android:layout_marginEnd="10dp"
94-
android:layout_marginTop="20dp"
94+
android:layout_marginTop="19dp"
9595
android:maxLines="1"
9696
android:ellipsize="end"
9797
android:text="@{placeSearchViewModel.geoLocation.title}"
9898
android:textSize="22sp"
99-
android:textStyle="bold"
10099
android:textColor="@color/white"
101100
android:gravity="center_vertical"
102101
app:layout_constraintStart_toEndOf="@id/image_view_panel_point"
@@ -146,11 +145,11 @@
146145
android:layout_width="wrap_content"
147146
android:layout_height="wrap_content"
148147
android:layout_marginStart="20dp"
149-
android:layout_marginBottom="17dp"
148+
android:layout_marginBottom="16dp"
150149
android:text="@{placeSearchViewModel.distance.toString()}"
151150
android:textSize="40sp"
152-
android:textStyle="bold"
153151
android:textColor="@color/white"
152+
android:textStyle="bold"
154153
app:layout_constraintStart_toStartOf="parent"
155154
app:layout_constraintBottom_toBottomOf="parent"
156155
tools:text="1.6" />
@@ -160,10 +159,9 @@
160159
android:layout_width="wrap_content"
161160
android:layout_height="wrap_content"
162161
android:layout_marginStart="7dp"
163-
android:layout_marginBottom="23dp"
162+
android:layout_marginBottom="22dp"
164163
android:text="@string/km"
165164
android:textSize="20sp"
166-
android:textStyle="bold"
167165
android:textColor="@color/white"
168166
app:layout_constraintStart_toEndOf="@id/text_view_panel_distance"
169167
app:layout_constraintBottom_toBottomOf="parent"
@@ -214,8 +212,6 @@
214212
android:id="@+id/layout_search"
215213
android:layout_width="0dp"
216214
android:layout_height="52dp"
217-
android:layout_marginStart="20dp"
218-
android:layout_marginEnd="20dp"
219215
android:elevation="15dp"
220216
android:background="@drawable/background_search"
221217
app:layout_constraintStart_toStartOf="@+id/guideline_start"
@@ -227,10 +223,10 @@
227223
android:layout_width="match_parent"
228224
android:layout_height="match_parent"
229225
android:layout_marginStart="50dp"
226+
android:layout_marginBottom="1dp"
230227
android:gravity="center_vertical"
231228
android:text="@string/search_hint"
232229
android:textSize="17sp"
233-
android:textStyle="bold"
234230
android:textColor="#808590" />
235231

236232
<ImageView
@@ -311,7 +307,8 @@
311307

312308
<androidx.coordinatorlayout.widget.CoordinatorLayout
313309
android:layout_width="match_parent"
314-
android:layout_height="match_parent">
310+
android:layout_height="match_parent"
311+
android:elevation="20dp" >
315312

316313
<include
317314
android:id="@+id/home_bottom_sheet"

presentation/src/main/res/layout/home_bottom_sheet.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
android:layout_width="match_parent"
88
android:layout_height="match_parent"
99
android:background="@drawable/background_bottom_sheet"
10-
android:elevation="20dp"
1110
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
1211
app:behavior_peekHeight="100dp"
1312
app:behavior_hideable="false">

0 commit comments

Comments
 (0)