From d1d889deee57761e14555051bc1c7cd712f8d5e9 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Thu, 22 Feb 2018 20:24:22 -0800 Subject: Set corner radius for GLIF buttons In GLIF v2, the corner radius stays at 2dp, but now referencing a resource defined inside the library itself. In GLIF v3, the corner radius is 4dp. Note that this only affects device running P or above since the corner radius API is new. Test: Manual + Existing tests pass Bug: 73252680 Change-Id: Ia7110b097c5217b54ed363939158d1960f56f02a --- library/gingerbread/res/values/styles.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'library/gingerbread/res') diff --git a/library/gingerbread/res/values/styles.xml b/library/gingerbread/res/values/styles.xml index 2287d27..241f037 100644 --- a/library/gingerbread/res/values/styles.xml +++ b/library/gingerbread/res/values/styles.xml @@ -108,6 +108,7 @@ ?attr/suwMarginSides ?attr/suwMarginSides true + @dimen/suw_glif_button_corner_radius sans-serif ?attr/colorPrimary @style/SuwFillContentLayout @@ -146,6 +147,7 @@ ?attr/suwMarginSides ?attr/suwMarginSides true + @dimen/suw_glif_button_corner_radius sans-serif ?attr/colorPrimary @style/SuwFillContentLayout @@ -166,12 +168,14 @@ -- cgit v1.2.3