浏览代码

[이벤트][Common] 이벤트 리스트 디바이스 기기 대응

Hasemi 6 年之前
父节点
当前提交
1a7f5509e4
共有 1 个文件被更改,包括 5 次插入6 次删除
  1. 5 6
      app/src/main/res/layout/fragment_event.xml

+ 5 - 6
app/src/main/res/layout/fragment_event.xml

@@ -9,13 +9,12 @@
   <android.support.v7.widget.RecyclerView
     android:id="@+id/recycler_view_event"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:paddingTop="14dp"
+    android:layout_height="wrap_content"
     android:clipToPadding="false"
     android:paddingStart="18dp"
+    android:paddingTop="14dp"
     android:paddingEnd="18dp"
     android:paddingBottom="88dp"
-    app:layout_constraintDimensionRatio="V, 311:412"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="parent"
@@ -26,9 +25,9 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:layout_marginBottom="37dp"
+    app:layout_constraintBottom_toBottomOf="parent"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintStart_toStartOf="parent"
-    app:layout_constraintBottom_toBottomOf="parent"
     />
 
   <android.support.constraint.ConstraintLayout
@@ -40,10 +39,10 @@
     android:layout_marginBottom="25dp"
     android:background="@drawable/rectangle_black_radius_2"
     android:visibility="gone"
-    tools:visibility="visible"
     app:layout_constraintBottom_toBottomOf="parent"
     app:layout_constraintEnd_toEndOf="parent"
-    app:layout_constraintStart_toStartOf="parent">
+    app:layout_constraintStart_toStartOf="parent"
+    tools:visibility="visible">
 
     <TextView
       android:layout_width="wrap_content"