Prechádzať zdrojové kódy

[카테고리메인][Common] 이미지 전체 dim layer 추가

Hasemi 7 rokov pred
rodič
commit
22843842a4

+ 8 - 0
app/src/main/res/drawable/image_dim.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+  <item>
+    <shape android:shape="rectangle">
+      <solid android:color="#00000000"/>
+    </shape>
+  </item>
+</selector>

+ 5 - 0
app/src/main/res/layout/main_fifth_category_linear_view.xml

@@ -16,6 +16,11 @@
     tools:src="@drawable/img_bestbucket_1"
     />
 
+  <android.support.constraint.ConstraintLayout
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@drawable/image_dim"
+    />
   <android.support.constraint.ConstraintLayout
     android:layout_width="match_parent"
     android:layout_height="157dp"

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

@@ -11,15 +11,20 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:scaleType="centerCrop"
+    android:background="@drawable/image_dim"
     app:srcCompat="@drawable/img_bestbucket_1"/>
 
+  <android.support.constraint.ConstraintLayout
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@drawable/image_dim"
+    />
   <android.support.constraint.ConstraintLayout
     android:layout_width="match_parent"
     android:layout_height="130dp"
     app:layout_constraintBottom_toBottomOf="parent"
     android:background="@drawable/rectangle_dim"
     >
-
     <TextView
       android:id="@+id/text_view_main_first_category"
       android:layout_width="wrap_content"

+ 6 - 0
app/src/main/res/layout/main_second_category_default_image_view.xml

@@ -13,6 +13,12 @@
     android:scaleType="centerCrop"
     tools:src="@drawable/mymain_bucket_banner_3"
     />
+  <android.support.constraint.ConstraintLayout
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@drawable/image_dim"
+    />
+
   <android.support.constraint.ConstraintLayout
     android:layout_width="match_parent"
     android:layout_height="61dp"

+ 6 - 0
app/src/main/res/layout/main_second_category_full_image_view.xml

@@ -13,6 +13,12 @@
     android:scaleType="centerCrop"
     tools:src="@drawable/mymain_bucket_banner_3"
     />
+  <android.support.constraint.ConstraintLayout
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@drawable/image_dim"
+    />
+
   <android.support.constraint.ConstraintLayout
     android:layout_width="match_parent"
     android:layout_height="205dp"