aboutsummaryrefslogtreecommitdiff
path: root/kpref-activity
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 /kpref-activity
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 'kpref-activity')
-rw-r--r--kpref-activity/build.gradle6
-rw-r--r--kpref-activity/src/main/res-public/values/public.xml4
-rw-r--r--kpref-activity/src/main/res/values/strings.xml4
3 files changed, 10 insertions, 4 deletions
diff --git a/kpref-activity/build.gradle b/kpref-activity/build.gradle
index 963d9c0..2ced0c2 100644
--- a/kpref-activity/build.gradle
+++ b/kpref-activity/build.gradle
@@ -1,8 +1,6 @@
-apply from: '../android-lib.gradle'
+ext.kauSubModuleResourcePrefix = "kau_pref_"
-android {
- resourcePrefix "kau_pref_"
-}
+apply from: '../android-lib.gradle'
dependencies {
diff --git a/kpref-activity/src/main/res-public/values/public.xml b/kpref-activity/src/main/res-public/values/public.xml
new file mode 100644
index 0000000..cf14680
--- /dev/null
+++ b/kpref-activity/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/kpref-activity/src/main/res/values/strings.xml b/kpref-activity/src/main/res/values/strings.xml
new file mode 100644
index 0000000..de6c42f
--- /dev/null
+++ b/kpref-activity/src/main/res/values/strings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="kau_pref_icon">Pref Icon</string>
+</resources> \ No newline at end of file