Skip to content

Commit

Permalink
Merge pull request #96 from Health-Food-Me/feat/fix-chip-padding-and-…
Browse files Browse the repository at this point in the history
…main-search

[fix] 메인 뷰 마진 및 패딩 수정
  • Loading branch information
mdb1217 authored Jul 16, 2022
2 parents 94d171b + 4053a2c commit 91b34fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -54,11 +54,10 @@

<TextView
android:id="@+id/tv_search"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:background="@drawable/rectangle_white_radius_14"
android:drawablePadding="124dp"
android:fontFamily="@font/notosanskr_r"
android:hint="@string/main_search"
android:paddingHorizontal="16dp"
@@ -67,6 +66,7 @@
android:textSize="15sp"
app:drawableEndCompat="@drawable/ic_search"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/btn_hamburger"
app:layout_constraintTop_toTopOf="parent" />

@@ -75,8 +75,9 @@
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="20dp"
android:paddingHorizontal="20dp"
android:layout_marginTop="12dp"
android:clipToPadding="false"
android:overScrollMode="never"
android:scrollbars="none"
app:layout_constraintTop_toBottomOf="@id/layout_search">
@@ -109,7 +110,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:layout_marginBottom="39dp"
android:layout_marginBottom="16dp"
android:backgroundTint="@color/white"
android:src="@drawable/ic_currentposition"
app:borderWidth="0dp"

0 comments on commit 91b34fa

Please sign in to comment.