Skip to content

Commit

Permalink
[style] #251 최근 본 향수 영역 내 향수 이미지 크기 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
Haeeul committed Feb 6, 2024
1 parent f42895c commit aebdb1e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/background_white_circle_fill.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/white"/>
</shape>
23 changes: 17 additions & 6 deletions app/src/main/res/layout/rv_item_home_recent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,32 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<de.hdodenhof.circleimageview.CircleImageView
<ImageView
android:id="@+id/act_perfume_detail_iv_write"
android:layout_width="108dp"
android:layout_height="108dp"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
setImage="@{item.imageUrl}"
android:src="@drawable/dummy_perfume_image"
app:civ_circle_background_color="@color/white"
android:background="@drawable/background_white_circle_fill"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<ImageView
android:id="@+id/imageView57"
setImage="@{item.imageUrl}"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
app:layout_constraintBottom_toBottomOf="@+id/act_perfume_detail_iv_write"
app:layout_constraintEnd_toEndOf="@+id/act_perfume_detail_iv_write"
app:layout_constraintStart_toStartOf="@+id/act_perfume_detail_iv_write"
app:layout_constraintTop_toTopOf="@+id/act_perfume_detail_iv_write"
bind:srcCompat="@drawable/dummy_perfume_image" />

<ImageView
android:id="@+id/btn_like"
setLikeList="@{item.isLiked}"
Expand Down

0 comments on commit aebdb1e

Please sign in to comment.