Browse Source

[콘텐츠상세][Common] 리스티클 이미지 디스크립션 영역 1:1비율 다시맞춤

Hasemi 7 năm trước cách đây
mục cha
commit
491c346283
1 tập tin đã thay đổi với 3 bổ sung8 xóa
  1. 3 8
      app/src/main/res/layout/contents_listicle_detail.xml

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

@@ -4,6 +4,7 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
+  tools:layout_width="300dp"
   android:layout_height="match_parent">
 
   <kr.co.zumo.app.lifeplus.view.custom.contents.CustomListicleImageView
@@ -11,12 +12,10 @@
     android:layout_width="match_parent"
     android:layout_height="0dp"
     app:layout_constraintBottom_toTopOf="@+id/scroll_view"
-    app:layout_constraintDimensionRatio="V, 1:1"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="parent"
-    tools:background="@color/CFFFFFF"
-    tools:layout_marginTop="100dp"/>
+    tools:background="@color/CFFFFFF"/>
 
 
   <ScrollView
@@ -24,13 +23,9 @@
     style="@style/ContentsScrollBars"
     android:layout_width="match_parent"
     android:layout_height="0dp"
-    android:layout_marginStart="25dp"
-    android:layout_marginTop="25dp"
-    android:layout_marginEnd="25dp"
-    android:layout_marginBottom="25dp"
+    android:padding="25dp"
     android:orientation="vertical"
     app:layout_constraintBottom_toBottomOf="parent"
-    app:layout_constraintDimensionRatio="V, 1:1"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toBottomOf="@+id/custom_listicle_image_view">