summaryrefslogtreecommitdiff
path: root/library/gingerbread
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2018-02-15 17:49:42 -0800
committerMaurice Lam <yukl@google.com>2018-02-17 00:07:05 +0000
commit5a94caca34f577b8c6d4d65acc00c8acf9666855 (patch)
treec81857e6838bf684e16b40177a41bbbd9d580653 /library/gingerbread
parentaf1e11f0746eb35cf2d624cef59876aba86676d0 (diff)
downloadsetupwizard-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.xml8
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>