Skip to content

Commit

Permalink
fix : 특정 디바이스에서 홈 gif width 안맞는 현상 수정 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiee authored Nov 27, 2020
1 parent 3d5575d commit ef74f44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class HomeFragment : BaseFragment<FragmentHomeBinding>(R.layout.fragment_home) {
}
})
.load(R.raw.home_motion)
.into(header.ivBack)
.into(header.ivMainGif)



Expand Down
11 changes: 8 additions & 3 deletions app/src/main/res/layout/layout_home_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
app:layout_constraintEnd_toEndOf="parent">

<ImageView
android:id="@+id/iv_back"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/iv_main_gif"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="fitXY"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
tools:ignore="ContentDescription" />

<ImageView
Expand Down

0 comments on commit ef74f44

Please # to comment.