Skip to content

Commit fbf414f

Browse files
committed
style: text_view_search 패딩 값 변경
1 parent 0ce5351 commit fbf414f

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ render.experimental.xml
3131
*.keystore
3232

3333
# Google Services (e.g. APIs or Firebase)
34-
google-services.json
34+
presentation/google-services.json
3535

3636
# Android Profiling
3737
*.hprof

presentation/src/main/java/com/stop/ui/map/MapFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class MapFragment : Fragment(), MapHandler {
250250
}
251251

252252
private fun setViewVisibility() {
253-
with (binding) {
253+
with(binding) {
254254
textViewSearch.visibility = mapUIVisibility
255255
layoutCompass.visibility = mapUIVisibility
256256
layoutCurrent.visibility = mapUIVisibility

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

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<layout
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<layout xmlns:android="http://schemas.android.com/apk/res/android"
43
xmlns:app="http://schemas.android.com/apk/res-auto"
5-
xmlns:tools="http://schemas.android.com/tools"
64
xmlns:bind="http://schemas.android.com/apk/res-auto">
75

86
<data>
7+
98
<variable
109
name="placeSearchViewModel"
1110
type="com.stop.ui.placesearch.PlaceSearchViewModel" />
@@ -69,7 +68,7 @@
6968
android:elevation="15dp"
7069
android:gravity="center_vertical"
7170
android:padding="8dp"
72-
android:paddingStart="50dp"
71+
android:paddingStart="20dp"
7372
android:paddingEnd="0dp"
7473
android:text="@string/search_hint"
7574
android:textColor="@color/hint_text_color"
@@ -81,58 +80,58 @@
8180

8281
<include
8382
android:id="@+id/home_panel"
83+
layout="@layout/home_panel"
8484
android:layout_width="0dp"
8585
android:layout_height="0dp"
8686
android:layout_marginEnd="15dp"
8787
android:elevation="15dp"
88-
app:layout_constraintStart_toStartOf="@id/guideline_start"
89-
app:layout_constraintEnd_toStartOf="@id/layout_current"
9088
app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"
9189
app:layout_constraintDimensionRatio="h,1.7:1"
90+
app:layout_constraintEnd_toStartOf="@id/layout_current"
9291
app:layout_constraintHorizontal_bias="1"
92+
app:layout_constraintStart_toStartOf="@id/guideline_start"
9393
app:layout_constraintWidth_max="300dp"
94-
bind:placeSearchViewModel="@{placeSearchViewModel}"
95-
layout="@layout/home_panel" />
94+
bind:placeSearchViewModel="@{placeSearchViewModel}" />
9695

9796
<androidx.constraintlayout.widget.ConstraintLayout
9897
android:id="@+id/layout_compass"
9998
android:layout_width="60dp"
10099
android:layout_height="60dp"
101100
android:layout_marginBottom="10dp"
102-
android:elevation="15dp"
103101
android:background="@drawable/background_button"
104-
app:layout_constraintEnd_toEndOf="@id/guideline_end"
105-
app:layout_constraintBottom_toTopOf="@id/layout_current">
102+
android:elevation="15dp"
103+
app:layout_constraintBottom_toTopOf="@id/layout_current"
104+
app:layout_constraintEnd_toEndOf="@id/guideline_end">
106105

107106
<ImageView
108107
android:layout_width="0dp"
109108
android:layout_height="0dp"
110109
android:src="@drawable/ic_compass"
111-
app:layout_constraintWidth_percent="0.5"
112-
app:layout_constraintStart_toStartOf="parent"
110+
app:layout_constraintBottom_toBottomOf="parent"
113111
app:layout_constraintEnd_toEndOf="parent"
112+
app:layout_constraintStart_toStartOf="parent"
114113
app:layout_constraintTop_toTopOf="parent"
115-
app:layout_constraintBottom_toBottomOf="parent" />
114+
app:layout_constraintWidth_percent="0.5" />
116115
</androidx.constraintlayout.widget.ConstraintLayout>
117116

118117
<androidx.constraintlayout.widget.ConstraintLayout
119118
android:id="@+id/layout_current"
120119
android:layout_width="60dp"
121120
android:layout_height="60dp"
122-
android:elevation="15dp"
123121
android:background="@drawable/background_button"
124-
app:layout_constraintEnd_toEndOf="@id/guideline_end"
125-
app:layout_constraintBottom_toBottomOf="@id/guideline_bottom">
122+
android:elevation="15dp"
123+
app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"
124+
app:layout_constraintEnd_toEndOf="@id/guideline_end">
126125

127126
<ImageView
128127
android:layout_width="0dp"
129128
android:layout_height="0dp"
130129
android:src="@drawable/ic_location"
131-
app:layout_constraintWidth_percent="0.5"
132-
app:layout_constraintStart_toStartOf="parent"
130+
app:layout_constraintBottom_toBottomOf="parent"
133131
app:layout_constraintEnd_toEndOf="parent"
132+
app:layout_constraintStart_toStartOf="parent"
134133
app:layout_constraintTop_toTopOf="parent"
135-
app:layout_constraintBottom_toBottomOf="parent" />
134+
app:layout_constraintWidth_percent="0.5" />
136135
</androidx.constraintlayout.widget.ConstraintLayout>
137136

138137
<androidx.coordinatorlayout.widget.CoordinatorLayout

0 commit comments

Comments
 (0)