From 9dd31ba9616d315f5905fa169c1745bdf3a5f9cb Mon Sep 17 00:00:00 2001 From: lh <1209405678@qq.com> Date: Tue, 28 Nov 2017 15:28:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=86=E8=A7=92=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/drawable/shape_bg.xml | 17 +++++++++++++++++ app/src/main/res/drawable/shape_red.xml | 10 ++++++++++ app/src/main/res/layout/item_index.xml | 5 ++++- app/src/main/res/values/colors.xml | 1 + 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/shape_bg.xml create mode 100644 app/src/main/res/drawable/shape_red.xml diff --git a/app/src/main/res/drawable/shape_bg.xml b/app/src/main/res/drawable/shape_bg.xml new file mode 100644 index 0000000..70a4036 --- /dev/null +++ b/app/src/main/res/drawable/shape_bg.xml @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_red.xml b/app/src/main/res/drawable/shape_red.xml new file mode 100644 index 0000000..44e8f71 --- /dev/null +++ b/app/src/main/res/drawable/shape_red.xml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_index.xml b/app/src/main/res/layout/item_index.xml index 726549c..2892937 100644 --- a/app/src/main/res/layout/item_index.xml +++ b/app/src/main/res/layout/item_index.xml @@ -8,7 +8,10 @@ + android:layout_height="60dp" + android:background="@drawable/shape_bg" + android:padding="@dimen/dp_2" + android:scaleType="fitXY" /> #cacaca #303030 #d92828 + #00000000