|
13 | 13 | <androidx.constraintlayout.widget.ConstraintLayout
|
14 | 14 | android:layout_width="match_parent"
|
15 | 15 | android:layout_height="match_parent"
|
16 |
| - tools:context=".ui.placesearch.PlaceSearchFragment"> |
| 16 | + tools:context=".ui.placesearch.PlaceSearchFragment" |
| 17 | + tools:theme="@style/Theme.Material3.Light.NoActionBar"> |
17 | 18 |
|
18 | 19 | <androidx.constraintlayout.widget.Guideline
|
19 | 20 | android:id="@+id/guide_line_start"
|
|
34 | 35 | android:layout_width="wrap_content"
|
35 | 36 | android:layout_height="wrap_content"
|
36 | 37 | android:orientation="horizontal"
|
37 |
| - app:layout_constraintGuide_begin="55dp" /> |
| 38 | + app:layout_constraintGuide_begin="35dp" /> |
38 | 39 |
|
39 | 40 | <com.google.android.material.textfield.TextInputLayout
|
40 | 41 | android:id="@+id/text_input_layout_place_search"
|
41 | 42 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
42 | 43 | android:layout_width="0dp"
|
43 | 44 | android:layout_height="wrap_content"
|
44 |
| - android:layout_marginTop="50dp" |
45 | 45 | app:endIconMode="clear_text"
|
46 | 46 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
47 | 47 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
|
59 | 59 |
|
60 | 60 | </com.google.android.material.textfield.TextInputLayout>
|
61 | 61 |
|
62 |
| - <TextView |
63 |
| - android:id="@+id/text_view_favorite" |
64 |
| - android:layout_width="wrap_content" |
65 |
| - android:layout_height="wrap_content" |
66 |
| - android:layout_marginTop="16dp" |
67 |
| - android:background="@drawable/background_gray_d9_8" |
68 |
| - android:drawablePadding="3dp" |
69 |
| - android:paddingHorizontal="12dp" |
70 |
| - android:paddingVertical="6dp" |
71 |
| - android:text="@string/favorite_text" |
72 |
| - android:textColor="@color/black" |
73 |
| - android:textSize="14sp" |
74 |
| - app:drawableStartCompat="@drawable/ic_baseline_star_outline_16" |
75 |
| - app:layout_constraintEnd_toStartOf="@id/text_view_current_location" |
76 |
| - app:layout_constraintHorizontal_chainStyle="spread_inside" |
77 |
| - app:layout_constraintStart_toStartOf="@id/guide_line_start" |
78 |
| - app:layout_constraintTop_toBottomOf="@id/text_input_layout_place_search" /> |
79 |
| - |
80 | 62 | <TextView
|
81 | 63 | android:id="@+id/text_view_current_location"
|
82 | 64 | android:layout_width="wrap_content"
|
83 | 65 | android:layout_height="wrap_content"
|
| 66 | + android:layout_marginTop="12dp" |
84 | 67 | android:background="@drawable/background_gray_d9_8"
|
85 | 68 | android:drawablePadding="3dp"
|
86 | 69 | android:paddingHorizontal="12dp"
|
|
89 | 72 | android:textColor="@color/black"
|
90 | 73 | android:textSize="14sp"
|
91 | 74 | app:drawableStartCompat="@drawable/ic_baseline_location_searching_16"
|
92 |
| - app:layout_constraintBottom_toBottomOf="@id/text_view_favorite" |
93 |
| - app:layout_constraintEnd_toStartOf="@id/text_view_select_map" |
94 |
| - app:layout_constraintStart_toEndOf="@id/text_view_favorite" |
95 |
| - app:layout_constraintTop_toTopOf="@id/text_view_favorite" /> |
| 75 | + app:layout_constraintStart_toStartOf="@id/guide_line_start" |
| 76 | + app:layout_constraintTop_toBottomOf="@id/text_input_layout_place_search" /> |
96 | 77 |
|
97 | 78 | <TextView
|
98 | 79 | android:id="@+id/text_view_select_map"
|
99 | 80 | android:layout_width="wrap_content"
|
100 | 81 | android:layout_height="wrap_content"
|
| 82 | + android:layout_marginStart="12dp" |
101 | 83 | android:background="@drawable/background_gray_d9_8"
|
102 | 84 | android:drawablePadding="3dp"
|
103 | 85 | android:paddingHorizontal="12dp"
|
|
107 | 89 | android:textSize="14sp"
|
108 | 90 | app:drawableStartCompat="@drawable/ic_baseline_map_16"
|
109 | 91 | app:layout_constraintBottom_toBottomOf="@id/text_view_current_location"
|
110 |
| - app:layout_constraintEnd_toEndOf="@id/guide_line_end" |
111 | 92 | app:layout_constraintStart_toEndOf="@id/text_view_current_location"
|
112 | 93 | app:layout_constraintTop_toTopOf="@id/text_view_current_location" />
|
113 | 94 |
|
|
120 | 101 | app:layout_constraintBottom_toBottomOf="parent"
|
121 | 102 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
122 | 103 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
123 |
| - app:layout_constraintTop_toBottomOf="@id/text_view_favorite" |
| 104 | + app:layout_constraintTop_toBottomOf="@id/text_view_current_location" |
124 | 105 | app:places="@{viewModel.nearPlaceList}" />
|
125 | 106 |
|
126 | 107 |
|
|
0 commit comments