浏览代码

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

Hasemi 7 年之前
父节点
当前提交
f96f72bf98
共有 1 个文件被更改,包括 5 次插入4 次删除
  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"