Browse Source

[카테고리메인][Common] dim 수정

Hasemi 7 years ago
parent
commit
28b453eff5

+ 1 - 1
app/src/main/res/drawable/rectangle_dim.xml

@@ -3,7 +3,7 @@
 
   <gradient
     android:angle="90"
-    android:endColor="#1A000000"
+    android:endColor="#00000000"
     android:startColor="#a6000000"
     android:type="linear" />
 

+ 1 - 1
app/src/main/res/drawable/rectangle_dim_top.xml

@@ -3,7 +3,7 @@
 
   <gradient
     android:angle="90"
-    android:endColor="#33000000"
+    android:endColor="#1A000000"
     android:startColor="#1A000000"
     android:type="linear" />
 

+ 1 - 1
app/src/main/res/layout/main_fifth_category_linear_view.xml

@@ -20,7 +20,7 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:background="@drawable/rectangle_dim_top"
-    app:layout_constraintBottom_toTopOf="@+id/image_dim_layer"
+    app:layout_constraintBottom_toBottomOf="parent"
     />
 
   <android.support.constraint.ConstraintLayout

+ 0 - 1
app/src/main/res/layout/main_first_category_grid_view.xml

@@ -17,7 +17,6 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:background="@drawable/rectangle_dim_top"
-    app:layout_constraintBottom_toTopOf="@+id/image_dim_layer"
     />
 
   <android.support.constraint.ConstraintLayout

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

@@ -24,7 +24,7 @@
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:background="@drawable/rectangle_dim_top"
-      app:layout_constraintBottom_toTopOf="@+id/image_dim_layer"
+      app:layout_constraintBottom_toBottomOf="parent"
       />
 
     <ImageView
@@ -100,7 +100,7 @@
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:background="@drawable/rectangle_dim_top"
-          app:layout_constraintBottom_toTopOf="@+id/image_dim_layer2"
+          app:layout_constraintBottom_toBottomOf="parent"
           />
 
         <android.support.constraint.ConstraintLayout
@@ -132,6 +132,7 @@
 
       <android.support.constraint.ConstraintLayout
         android:layout_width="match_parent"
+        android:layout_marginTop="7dp"
         android:layout_height="0dp"
         android:layout_weight="1">
 
@@ -139,7 +140,6 @@
           android:id="@+id/image_3"
           android:layout_width="match_parent"
           android:layout_height="match_parent"
-          android:layout_marginTop="7dp"
           android:scaleType="centerCrop"
           app:layout_constraintBottom_toBottomOf="parent"
           tools:src="@drawable/banner_bg_1"/>
@@ -148,7 +148,8 @@
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:background="@drawable/rectangle_dim_top"
-          app:layout_constraintBottom_toTopOf="@+id/image_dim_layer3"
+          app:layout_constraintTop_toTopOf="parent"
+          app:layout_constraintBottom_toBottomOf="parent"
           />
 
         <android.support.constraint.ConstraintLayout

+ 4 - 4
app/src/main/res/layout/main_second_category_second_row.xml

@@ -46,7 +46,7 @@
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:background="@drawable/rectangle_dim_top"
-          app:layout_constraintBottom_toTopOf="@+id/image_dim_layer2"
+          app:layout_constraintBottom_toBottomOf="parent"
           />
 
         <android.support.constraint.ConstraintLayout
@@ -79,13 +79,13 @@
       <android.support.constraint.ConstraintLayout
         android:layout_width="match_parent"
         android:layout_height="0dp"
+        android:layout_marginTop="7dp"
         android:layout_weight="1">
 
         <ImageView
           android:id="@+id/image_2"
           android:layout_width="match_parent"
           android:layout_height="match_parent"
-          android:layout_marginTop="7dp"
           android:scaleType="centerCrop"
           app:layout_constraintBottom_toBottomOf="parent"
           tools:src="@drawable/banner_bg_1"/>
@@ -94,7 +94,7 @@
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:background="@drawable/rectangle_dim_top"
-          app:layout_constraintBottom_toTopOf="@+id/image_2"
+          app:layout_constraintBottom_toBottomOf="parent"
           />
 
         <android.support.constraint.ConstraintLayout
@@ -142,7 +142,7 @@
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:background="@drawable/rectangle_dim_top"
-      app:layout_constraintBottom_toTopOf="@+id/image_dim_layer"
+      app:layout_constraintBottom_toBottomOf="parent"
       />
 
     <ImageView

+ 3 - 3
app/src/main/res/layout/main_second_category_third_row.xml

@@ -34,7 +34,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:background="@drawable/rectangle_dim_top"
-        app:layout_constraintBottom_toTopOf="@+id/image_dim_layer2"
+        app:layout_constraintBottom_toBottomOf="parent"
         />
 
       <android.support.constraint.ConstraintLayout
@@ -85,7 +85,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:background="@drawable/rectangle_dim_top"
-        app:layout_constraintBottom_toTopOf="@+id/image_dim_layer3"
+        app:layout_constraintBottom_toBottomOf="parent"
         />
 
       <android.support.constraint.ConstraintLayout
@@ -139,7 +139,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:background="@drawable/rectangle_dim_top"
-        app:layout_constraintBottom_toTopOf="@+id/image_dim_layer1"
+        app:layout_constraintBottom_toBottomOf="parent"
         />
 
       <android.support.constraint.ConstraintLayout