diff options
author | Maurice Lam <yukl@google.com> | 2018-02-22 20:24:22 -0800 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2018-02-26 12:24:47 -0800 |
commit | d1d889deee57761e14555051bc1c7cd712f8d5e9 (patch) | |
tree | 4a7c7ca3e3701e9bb09b038bb487a0be1db26b25 /library/main/res/values/attrs.xml | |
parent | a70f6139a21dfd0a520ca872b5f4fa88df22b796 (diff) | |
download | setupwizard-d1d889deee57761e14555051bc1c7cd712f8d5e9.tar.gz |
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
Diffstat (limited to 'library/main/res/values/attrs.xml')
-rw-r--r-- | library/main/res/values/attrs.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/main/res/values/attrs.xml b/library/main/res/values/attrs.xml index 7a7580d..b3fcfe9 100644 --- a/library/main/res/values/attrs.xml +++ b/library/main/res/values/attrs.xml @@ -41,6 +41,7 @@ <attr name="suwGlifIconStyle" format="reference" /> <attr name="suwButtonAllCaps" format="boolean" /> + <attr name="suwButtonCornerRadius" format="dimension" /> <attr name="suwButtonFontFamily" format="string|reference" /> <attr name="suwCardBackground" format="color|reference" /> <attr name="suwDividerCondition"> |