From 16b5ca9dcf5941f11249827800941e9588d87810 Mon Sep 17 00:00:00 2001 From: Nishant Patel Date: Wed, 20 Dec 2017 19:44:21 -0500 Subject: [PATCH] Extract list item styles to styles.xml resource file --- app/src/main/res/layout/list_item.xml | 19 +++---------------- app/src/main/res/values/styles.xml | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/layout/list_item.xml b/app/src/main/res/layout/list_item.xml index df65e44..ddeff9b 100644 --- a/app/src/main/res/layout/list_item.xml +++ b/app/src/main/res/layout/list_item.xml @@ -37,17 +37,8 @@ + style="@style/catalog_activity_category_style" + tools:text="Stationary" /> + style="@style/catalog_activity_info_icon_style" /> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 5f9a237..73ad635 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -74,6 +74,29 @@ + + + + + +