diff options
author | Maurice Lam <yukl@google.com> | 2018-02-15 17:49:42 -0800 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2018-02-17 00:07:05 +0000 |
commit | 5a94caca34f577b8c6d4d65acc00c8acf9666855 (patch) | |
tree | c81857e6838bf684e16b40177a41bbbd9d580653 /library/gingerbread | |
parent | af1e11f0746eb35cf2d624cef59876aba86676d0 (diff) | |
download | setupwizard-5a94caca34f577b8c6d4d65acc00c8acf9666855.tar.gz |
Build against SDK 28
buttonCornerRadius was an attribute new in API 28.
Bug: 73252680
Test: ./gradlew test connectedAndroidTest
Change-Id: If8a98ef5c299f756830844ebe241d08be5126110
Diffstat (limited to 'library/gingerbread')
-rw-r--r-- | library/gingerbread/res/values-v27/styles.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/library/gingerbread/res/values-v27/styles.xml b/library/gingerbread/res/values-v27/styles.xml index a81b86b..305a55e 100644 --- a/library/gingerbread/res/values-v27/styles.xml +++ b/library/gingerbread/res/values-v27/styles.xml @@ -15,14 +15,16 @@ limitations under the License. --> -<resources> +<resources xmlns:tools="http://schemas.android.com/tools"> <!-- Not needed for dark theme, as default nav bar bg color is black. We need a separate style override here since windowLightNavigationBar is new in v27, and these two styles need to be applied together as a unit. --> <style name="SuwThemeGlifV3.Light" parent="SuwBaseThemeGlifV3.Light"> <item name="android:navigationBarColor">@color/suw_glif_v3_nav_bar_color_light</item> - <item name="android:navigationBarDividerColor">@color/suw_glif_v3_nav_bar_divider_color_light</item> - <item name="android:windowLightNavigationBar">true</item> + <!-- Ignore NewApi: For some reason lint seems to think this API is new in v28 (b/73514594) --> + <item name="android:navigationBarDividerColor" tools:ignore="NewApi">@color/suw_glif_v3_nav_bar_divider_color_light</item> + <!-- Ignore NewApi: For some reason lint seems to think this API is new in v28 (b/73514594) --> + <item name="android:windowLightNavigationBar" tools:ignore="NewApi">true</item> </style> </resources> |