From aae87eb92e9c1ab341ebf79dc8368d0cdfbf2140 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Thu, 16 Jun 2016 09:57:31 +1000 Subject: [PATCH] Extracted new API styles dependent on API 16 and 17 into values-17. This involved the typical Android design pattern of a "Base" style in `values/styles.xml`, then the an empty normal style which uses that Base style as a `parent` also in `values/styles.xml`, and finally any API specific styles in another version of the normal style in a `values/styles-v17` folder. Same was done for android:actionBarStyle moving it into into values-v11. This time, didn't worry about the base style, because there was not much to be gained. by doing so. --- app/src/main/res/values-v11/styles.xml | 2 ++ app/src/main/res/values-v17/styles.xml | 23 +++++++++++++++ app/src/main/res/values/styles.xml | 39 +++++++++++--------------- 3 files changed, 41 insertions(+), 23 deletions(-) diff --git a/app/src/main/res/values-v11/styles.xml b/app/src/main/res/values-v11/styles.xml index 001b81cc9..52acd3873 100644 --- a/app/src/main/res/values-v11/styles.xml +++ b/app/src/main/res/values-v11/styles.xml @@ -2,6 +2,8 @@ diff --git a/app/src/main/res/values-v17/styles.xml b/app/src/main/res/values-v17/styles.xml index bf5eeee8b..1500affdb 100644 --- a/app/src/main/res/values-v17/styles.xml +++ b/app/src/main/res/values-v17/styles.xml @@ -4,11 +4,34 @@ + + + + + + + + + + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 5a9c2e85c..b6ff997b4 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -103,8 +103,6 @@ @@ -125,17 +123,16 @@ - - - - + + + @@ -173,14 +175,15 @@ 5dp - + - - -