Преглед на файлове

Merge branch 'develop' of https://github.com/swict/LifePlusAndroid into develop

hyodong.min преди 7 години
родител
ревизия
11b306865e
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 3 3
      app/src/main/res/layout/main_fifth_category_linear_view.xml
  2. 1 1
      app/src/main/res/layout/main_third_category_grid_view.xml

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

@@ -4,15 +4,15 @@
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
-  android:layout_height="wrap_content"
+  android:layout_height="311dp"
   >
 
   <ImageView
     android:id="@+id/image_view_main_fifth_category"
     android:layout_width="match_parent"
-    android:layout_height="311dp"
+    android:layout_height="match_parent"
     android:background="@color/C333333"
-    android:scaleType="fitXY"
+    android:scaleType="centerCrop"
     tools:src="@drawable/img_bestbucket_3"
     />
 

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

@@ -10,7 +10,7 @@
     android:id="@+id/image_view_main_third_category"
     android:layout_width="match_parent"
     android:layout_height="148dp"
-    android:scaleType="fitXY"
+    android:scaleType="centerCrop"
     tools:src="@drawable/img_bestbucket_banner_5"
     />