Browse Source

[콘텐츠상세][Common] 전체보기 레이아웃 수정

Hasemi 7 years ago
parent
commit
f96f72bf98
1 changed files with 5 additions and 4 deletions
  1. 5 4
      app/src/main/res/layout/overview_item_view.xml

+ 5 - 4
app/src/main/res/layout/overview_item_view.xml

@@ -3,15 +3,16 @@
   xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
-  android:layout_width="151dp"
-  android:layout_height="202dp">
+  android:layout_width="wrap_content"
+  android:layout_height="wrap_content">
 
   <ImageView
     android:id="@+id/image_view_item"
-    android:layout_width="match_parent"
-    android:layout_height="match_parent"
+    android:layout_width="0dp"
+    android:layout_height="0dp"
     android:scaleType="centerCrop"
     app:layout_constraintBottom_toBottomOf="parent"
+    app:layout_constraintDimensionRatio="V,151:202"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="parent"