From fb52740bdbde43b73d03195f83f8484951cbf789 Mon Sep 17 00:00:00 2001 From: Dave Kover Date: Sun, 2 Aug 2015 12:35:42 -0700 Subject: Expose values for themes. Move category margin dimension to exposed value. Add background to category title textview and make value accessible via cm_colors. Clean up formatting in cm_colors. Ticket: CYNGNOS-2154 Change-Id: Ie9241cae3ea067fccbedd43231b52e3c80f8bd97 --- res/layout/dashboard_category.xml | 3 ++- res/values/cm_colors.xml | 3 +++ res/values/cm_dimens.xml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml index 1ceeebf..730f18e 100644 --- a/res/layout/dashboard_category.xml +++ b/res/layout/dashboard_category.xml @@ -22,7 +22,7 @@ android:paddingEnd="@dimen/dashboard_category_padding_end" android:orientation="vertical" android:background="@color/dashboard_category_background_color" - android:layout_marginBottom="8dip" + android:layout_marginBottom="@dimen/dashboard_category_margin_bottom" android:elevation="@dimen/dashboard_category_elevation"> @color/text_color_white + + @android:color/transparent + diff --git a/res/values/cm_dimens.xml b/res/values/cm_dimens.xml index 4298d79..b1f11d7 100644 --- a/res/values/cm_dimens.xml +++ b/res/values/cm_dimens.xml @@ -22,4 +22,7 @@ 320dp 400dp + + + 8dip -- cgit v1.1