Parcourir la source

[콘텐츠상세][Common] 마이코인메인 배너 포커스 안먹게, 딤 처리중

Hasemi il y a 7 ans
Parent
commit
66fbd00166

+ 2 - 2
app/src/main/res/drawable/card_dim_bottom_40.xml

@@ -4,7 +4,7 @@
   <gradient
     android:angle="90"
     android:endColor="#00000000"
-    android:centerColor="#26000000"
-    android:startColor="#66000000"
+    android:centerColor="#05000000"
+    android:startColor="#1F000000"
     android:type="linear" />
 </shape>

+ 14 - 0
app/src/main/res/drawable/card_dim_bottom_3.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+       android:shape="rectangle">
+  <size
+    android:width="15dp"
+    android:height="15dp"/>
+  <gradient
+    android:endColor="#00000000"
+    android:centerColor="#03000000"
+    android:startColor="#08000000"/>
+  <corners
+    android:bottomRightRadius="15dp"
+    android:topRightRadius="0dp"/>
+</shape>

+ 7 - 0
app/src/main/res/layout/contents_card_listicle_cover.xml

@@ -20,4 +20,11 @@
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintTop_toTopOf="parent"/>
+
+  <View
+    android:layout_width="match_parent"
+    android:layout_height="138dp"
+    android:background="@drawable/card_dim_bottom_12"
+    app:layout_constraintEnd_toEndOf="parent"
+    app:layout_constraintBottom_toBottomOf="parent"/>
 </android.support.constraint.ConstraintLayout>

+ 12 - 4
app/src/main/res/layout/contents_card_listicle_detail.xml

@@ -24,7 +24,7 @@
 
   <View
     android:layout_width="match_parent"
-    android:layout_height="226dp"
+    android:layout_height="235dp"
     android:background="@drawable/card_cover_dim_top"
     android:rotation="180"
     app:layout_constraintEnd_toEndOf="parent"
@@ -75,8 +75,16 @@
 
   <View
     android:layout_width="match_parent"
-    android:layout_height="72dp"
-    android:background="@drawable/card_dim_bottom_40"
+    android:layout_height="138dp"
+    android:background="@drawable/card_dim_bottom_12"
+    app:layout_constraintBottom_toBottomOf="parent"/>
+
+  <View
+    android:rotation="-180"
+    android:layout_width="166dp"
+    android:layout_height="162dp"
+    android:background="@drawable/card_dim_bottom_3"
+    app:layout_constraintEnd_toEndOf="parent"
     app:layout_constraintBottom_toBottomOf="parent"/>
 
   <TextView
@@ -86,7 +94,7 @@
     android:layout_marginEnd="25dp"
     android:layout_marginBottom="28dp"
     android:gravity="end"
-    android:lineSpacingExtra="3.5sp"
+    android:lineSpacingExtra="4sp"
     android:textColor="@color/CFFFFFF"
     android:textSize="12sp"
     android:textStyle="bold"

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

@@ -5,6 +5,7 @@
   android:layout_width="match_parent"
   android:layout_height="match_parent">
     <android.support.v7.widget.RecyclerView
+      android:descendantFocusability="blocksDescendants"
       android:id="@+id/recycler_view_main_banner_view"
       android:layout_width="match_parent"
       android:layout_height="match_parent"/>