aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2015-01-06 21:37:49 -0500
committerSam Whited <sam@samwhited.com>2015-01-06 21:37:49 -0500
commit45bb59dba8850d67025a83244a80a1d69d59276b (patch)
tree6d280bd268aec463e0a195300a615efe964ac763
parentc01e866965b555e21a0b9a5e36aca051bbc814c1 (diff)
Add materials theme
Diffstat (limited to '')
-rw-r--r--build.gradle6
-rw-r--r--src/main/res/values-v21/themes.xml14
-rw-r--r--src/main/res/values/colors.xml1
3 files changed, 18 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 29cb3840..87e35247 100644
--- a/build.gradle
+++ b/build.gradle
@@ -40,12 +40,12 @@ dependencies {
}
android {
- compileSdkVersion 19
- buildToolsVersion "19.1"
+ compileSdkVersion 21
+ buildToolsVersion "21.1.2"
defaultConfig {
minSdkVersion 14
- targetSdkVersion 19
+ targetSdkVersion 21
versionCode 41
versionName "0.10"
}
diff --git a/src/main/res/values-v21/themes.xml b/src/main/res/values-v21/themes.xml
new file mode 100644
index 00000000..fddab466
--- /dev/null
+++ b/src/main/res/values-v21/themes.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="ConversationsTheme" parent="@android:style/Theme.Material.Light.DarkActionBar">
+ <item name="android:colorPrimary">@color/primary</item>
+ <item name="android:colorPrimaryDark">@color/primarydark</item>
+ <item name="android:colorAccent">@color/accent</item>
+
+ <item name="TextSizeInfo">12sp</item>
+ <item name="TextSizeBody">14sp</item>
+ <item name="TextSizeHeadline">20sp</item>
+ </style>
+
+</resources> \ No newline at end of file
diff --git a/src/main/res/values/colors.xml b/src/main/res/values/colors.xml
index 908b8b89..c21650a5 100644
--- a/src/main/res/values/colors.xml
+++ b/src/main/res/values/colors.xml
@@ -3,6 +3,7 @@
<color name="primary" type="color">#ff259b24</color>
<color name="primarydark" type="color">#ff0a7e07</color>
+ <color name="accent">#ff0091ea</color>
<color name="primarytext" type="color">#de000000</color>
<color name="secondarytext" type="color">#8a000000</color>
<color name="ondarktext" type="color">#fffafafa</color>