commit | 41947427f1f2ab04bfb9eb02dbd48acb8fee318f | [log] [tgz] |
---|---|---|
author | Wesley.CW Wang <wesleycwwang@google.com> | Thu May 21 14:23:28 2020 +0800 |
committer | Wesley.CW Wang <wesleycwwang@google.com> | Thu May 21 14:23:28 2020 +0800 |
tree | b21b0789ed8a4598d5122841a247038a5aa77787 | |
parent | d09b0ad1ccad13be4ba5bc980432df4d29d81393 [diff] |
Change options corner radius to applied style 1/2 - Change the corner radius from 8dp to applied style, will impact Style, Grid and Clock tab's options, https://docs.google.com/presentation/d/15JadcGi5k1_0znUN_XdFpU7UxeXwxjK3Y7LxvhW5ETM/edit?ts=5ec60161#slide=id.g7c8f4a82bf_0_60 - Screenshots: https://screenshot.googleplex.com/fcArOYdke1O.png https://screenshot.googleplex.com/iY04EkneEae.png https://screenshot.googleplex.com/YPdWJAgoTMA.png Change-Id: I48a11d319abe67c1658c1028d055c765ef29fca4
diff --git a/res/drawable/option_border.xml b/res/drawable/option_border.xml index fbeddca..ff03ed0 100644 --- a/res/drawable/option_border.xml +++ b/res/drawable/option_border.xml
@@ -18,7 +18,7 @@ <item android:id="@android:id/mask"> <shape android:shape="rectangle"> <solid android:color="@android:color/white"/> - <corners android:radius="8dp" /> + <corners android:radius="?android:dialogCornerRadius" /> </shape> </item> <item android:drawable="@drawable/option_border_edge" />
diff --git a/res/drawable/option_border_edge.xml b/res/drawable/option_border_edge.xml index 297acfb..6d633c3 100644 --- a/res/drawable/option_border_edge.xml +++ b/res/drawable/option_border_edge.xml
@@ -20,7 +20,7 @@ <stroke android:color="@color/option_border_color" android:width="@dimen/option_selected_border_width" /> - <corners android:radius="8dp" /> + <corners android:radius="?android:dialogCornerRadius" /> </shape> </item> <item android:state_activated="false"> @@ -28,7 +28,7 @@ <stroke android:color="@color/option_border_color" android:width="@dimen/option_border_width" /> - <corners android:radius="8dp" /> + <corners android:radius="?android:dialogCornerRadius" /> </shape> </item> </selector>