Skip to content

Commit db8d37c

Browse files
committed
feat: home_bottom_sheet를 MapFragment에 연결
1 parent a9723f0 commit db8d37c

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
android:layout_width="wrap_content"
4444
android:layout_height="wrap_content"
4545
android:orientation="horizontal"
46-
app:layout_constraintGuide_begin="791dp" />
46+
app:layout_constraintGuide_end="115dp" />
4747

4848
<androidx.constraintlayout.widget.Guideline
4949
android:id="@+id/guideline_panel"
@@ -307,6 +307,15 @@
307307
app:layout_constraintBottom_toBottomOf="@id/layout_bookmark"
308308
app:srcCompat="@drawable/ic_bookmark" />
309309
</androidx.constraintlayout.widget.ConstraintLayout>
310+
311+
<androidx.coordinatorlayout.widget.CoordinatorLayout
312+
android:layout_width="match_parent"
313+
android:layout_height="match_parent">
314+
315+
<include
316+
android:id="@+id/home_bottom_sheet"
317+
layout="@layout/home_bottom_sheet" />
318+
</androidx.coordinatorlayout.widget.CoordinatorLayout>
310319
</androidx.constraintlayout.widget.ConstraintLayout>
311320
</layout>
312321

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

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,30 @@
66
<androidx.constraintlayout.widget.ConstraintLayout
77
android:layout_width="match_parent"
88
android:layout_height="match_parent"
9-
android:backgroundTint="#858590"
9+
android:backgroundTint="#FFFFFF"
10+
android:elevation="20dp"
1011
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
1112
app:behavior_peekHeight="100dp"
12-
app:behavior_hideable="true"
13+
app:behavior_hideable="false"
1314
style="@style/Widget.Material3.BottomSheet">
1415

16+
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
17+
android:id="@+id/drag_handle"
18+
android:layout_width="wrap_content"
19+
android:layout_height="wrap_content"
20+
android:backgroundTint="#404550"
21+
app:layout_constraintStart_toStartOf="parent"
22+
app:layout_constraintEnd_toEndOf="parent"
23+
app:layout_constraintTop_toTopOf="parent" />
24+
1525
<TextView
1626
android:id="@+id/textView"
1727
android:layout_width="wrap_content"
1828
android:layout_height="wrap_content"
1929
android:layout_marginTop="25dp"
20-
android:text="임시 텍스트 임시 텍스트"
21-
android:textSize="35sp"
22-
android:textColor="@color/white"
30+
android:text="현재 등록된 막차 알림이 없습니다."
31+
android:textSize="15sp"
32+
android:textColor="#808590"
2333
app:layout_constraintStart_toStartOf="parent"
2434
app:layout_constraintEnd_toEndOf="parent"
2535
app:layout_constraintTop_toTopOf="parent" />

0 commit comments

Comments
 (0)