Browse Source

[콘텐츠상세][Common] 콘텐츠 리스티클 이미지 비율 적용

Hasemi 7 years ago
parent
commit
a93876db54
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/src/main/res/layout/contents_listicle_detail.xml

+ 3 - 1
app/src/main/res/layout/contents_listicle_detail.xml

@@ -9,7 +9,8 @@
   <kr.co.zumo.app.lifeplus.view.custom.contents.CustomListicleImageView
     android:id="@+id/custom_listicle_image_view"
     android:layout_width="match_parent"
-    android:layout_height="320dp"
+    android:layout_height="0dp"
+    app:layout_constraintDimensionRatio="V, 1:1"
     app:layout_constraintBottom_toTopOf="@+id/scroll_view"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
@@ -21,6 +22,7 @@
     style="@style/ContentsScrollBars"
     android:layout_width="match_parent"
     android:layout_height="0dp"
+    app:layout_constraintDimensionRatio="V, 1:1"
     android:layout_marginStart="25dp"
     android:layout_marginTop="25dp"
     android:layout_marginEnd="25dp"