aboutsummaryrefslogtreecommitdiff
path: root/colorpicker
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-22 16:08:08 -0700
committerGitHub <noreply@github.com>2017-07-22 16:08:08 -0700
commit61d87976e8b29ed25061ae98743a6cf4f4274542 (patch)
treefa4d9bca5fe1b9478ba2f1cc1e6c7d8d18bf15ce /colorpicker
parent8f2b5ac043f47cc44f43c3788d1377083fb339a2 (diff)
downloadkau-61d87976e8b29ed25061ae98743a6cf4f4274542.tar.gz
kau-61d87976e8b29ed25061ae98743a6cf4f4274542.tar.bz2
kau-61d87976e8b29ed25061ae98743a6cf4f4274542.zip
Support sdk 19 where possible and add image picker (#10)3.0
* Fix plural * Switch to long * Test plural again * Comment * Major update to image picker and view utils * Make image activity full screen * Update min sdk and prefix * Lower sdk requirement and make string private * Bring kpref activity to sdk 19
Diffstat (limited to 'colorpicker')
-rw-r--r--colorpicker/build.gradle8
-rw-r--r--colorpicker/src/main/res-public/values/public.xml4
-rw-r--r--colorpicker/src/main/res/values/strings.xml6
3 files changed, 14 insertions, 4 deletions
diff --git a/colorpicker/build.gradle b/colorpicker/build.gradle
index c522e9f..f6e412a 100644
--- a/colorpicker/build.gradle
+++ b/colorpicker/build.gradle
@@ -1,8 +1,8 @@
-apply from: '../android-lib.gradle'
+ext.kauSubModuleResourcePrefix = "kau_color_"
-android {
- resourcePrefix "kau_color_"
-}
+ext.kauSubModuleMinSdk = project.CORE_MIN_SDK
+
+apply from: '../android-lib.gradle'
dependencies {
compile project(':core')
diff --git a/colorpicker/src/main/res-public/values/public.xml b/colorpicker/src/main/res-public/values/public.xml
new file mode 100644
index 0000000..cf14680
--- /dev/null
+++ b/colorpicker/src/main/res-public/values/public.xml
@@ -0,0 +1,4 @@
+<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
+<!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
+ <public name='dummy' type='id' />
+</resources> \ No newline at end of file
diff --git a/colorpicker/src/main/res/values/strings.xml b/colorpicker/src/main/res/values/strings.xml
new file mode 100644
index 0000000..5a6f89b
--- /dev/null
+++ b/colorpicker/src/main/res/values/strings.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName">
+ <string name="kau_md_color_palette">Color Palette</string>
+ <string name="kau_md_custom">Custom</string>
+ <string name="kau_md_presets">Presets</string>
+</resources>