From 61d87976e8b29ed25061ae98743a6cf4f4274542 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 22 Jul 2017 16:08:08 -0700 Subject: Support sdk 19 where possible and add image picker (#10) * 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 --- core/src/main/res-public/anim/kau_fade_in.xml | 5 + core/src/main/res-public/anim/kau_fade_out.xml | 5 + .../main/res-public/anim/kau_slide_in_bottom.xml | 7 ++ .../src/main/res-public/anim/kau_slide_in_left.xml | 7 ++ .../main/res-public/anim/kau_slide_in_right.xml | 7 ++ core/src/main/res-public/anim/kau_slide_in_top.xml | 7 ++ .../main/res-public/anim/kau_slide_out_bottom.xml | 7 ++ .../main/res-public/anim/kau_slide_out_left.xml | 7 ++ .../main/res-public/anim/kau_slide_out_right.xml | 7 ++ .../res-public/anim/kau_slide_out_right_top.xml | 8 ++ .../src/main/res-public/anim/kau_slide_out_top.xml | 7 ++ .../drawable-v21/kau_selectable_white.xml | 6 ++ .../res-public/drawable/kau_selectable_white.xml | 13 +++ .../main/res-public/drawable/kau_transparent.xml | 5 + .../transition-v21/kau_enter_slide_bottom.xml | 22 ++++ .../transition-v21/kau_enter_slide_top.xml | 22 ++++ .../transition-v21/kau_exit_slide_bottom.xml | 23 +++++ .../transition-v21/kau_exit_slide_top.xml | 23 +++++ core/src/main/res-public/values/dimens.xml | 36 +++++++ core/src/main/res-public/values/public.xml | 111 +++++++++++++++++++++ .../src/main/res-public/values/strings_commons.xml | 74 ++++++++++++++ core/src/main/res-public/values/styles.xml | 4 + .../main/res-public/values/styles_animations.xml | 65 ++++++++++++ 23 files changed, 478 insertions(+) create mode 100644 core/src/main/res-public/anim/kau_fade_in.xml create mode 100644 core/src/main/res-public/anim/kau_fade_out.xml create mode 100644 core/src/main/res-public/anim/kau_slide_in_bottom.xml create mode 100644 core/src/main/res-public/anim/kau_slide_in_left.xml create mode 100644 core/src/main/res-public/anim/kau_slide_in_right.xml create mode 100644 core/src/main/res-public/anim/kau_slide_in_top.xml create mode 100644 core/src/main/res-public/anim/kau_slide_out_bottom.xml create mode 100644 core/src/main/res-public/anim/kau_slide_out_left.xml create mode 100644 core/src/main/res-public/anim/kau_slide_out_right.xml create mode 100644 core/src/main/res-public/anim/kau_slide_out_right_top.xml create mode 100644 core/src/main/res-public/anim/kau_slide_out_top.xml create mode 100644 core/src/main/res-public/drawable-v21/kau_selectable_white.xml create mode 100644 core/src/main/res-public/drawable/kau_selectable_white.xml create mode 100644 core/src/main/res-public/drawable/kau_transparent.xml create mode 100644 core/src/main/res-public/transition-v21/kau_enter_slide_bottom.xml create mode 100644 core/src/main/res-public/transition-v21/kau_enter_slide_top.xml create mode 100644 core/src/main/res-public/transition-v21/kau_exit_slide_bottom.xml create mode 100644 core/src/main/res-public/transition-v21/kau_exit_slide_top.xml create mode 100644 core/src/main/res-public/values/dimens.xml create mode 100644 core/src/main/res-public/values/public.xml create mode 100644 core/src/main/res-public/values/strings_commons.xml create mode 100644 core/src/main/res-public/values/styles.xml create mode 100644 core/src/main/res-public/values/styles_animations.xml (limited to 'core/src/main/res-public') diff --git a/core/src/main/res-public/anim/kau_fade_in.xml b/core/src/main/res-public/anim/kau_fade_in.xml new file mode 100644 index 0000000..03312a2 --- /dev/null +++ b/core/src/main/res-public/anim/kau_fade_in.xml @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_fade_out.xml b/core/src/main/res-public/anim/kau_fade_out.xml new file mode 100644 index 0000000..322befc --- /dev/null +++ b/core/src/main/res-public/anim/kau_fade_out.xml @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_in_bottom.xml b/core/src/main/res-public/anim/kau_slide_in_bottom.xml new file mode 100644 index 0000000..a07cba4 --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_in_bottom.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_in_left.xml b/core/src/main/res-public/anim/kau_slide_in_left.xml new file mode 100644 index 0000000..828bdae --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_in_left.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_in_right.xml b/core/src/main/res-public/anim/kau_slide_in_right.xml new file mode 100644 index 0000000..0f9fbce --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_in_right.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_in_top.xml b/core/src/main/res-public/anim/kau_slide_in_top.xml new file mode 100644 index 0000000..8caee9b --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_in_top.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_out_bottom.xml b/core/src/main/res-public/anim/kau_slide_out_bottom.xml new file mode 100644 index 0000000..44e7e21 --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_out_bottom.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_out_left.xml b/core/src/main/res-public/anim/kau_slide_out_left.xml new file mode 100644 index 0000000..6fab33e --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_out_left.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_out_right.xml b/core/src/main/res-public/anim/kau_slide_out_right.xml new file mode 100644 index 0000000..9322741 --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_out_right.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_out_right_top.xml b/core/src/main/res-public/anim/kau_slide_out_right_top.xml new file mode 100644 index 0000000..5b63474 --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_out_right_top.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/anim/kau_slide_out_top.xml b/core/src/main/res-public/anim/kau_slide_out_top.xml new file mode 100644 index 0000000..9f8e14c --- /dev/null +++ b/core/src/main/res-public/anim/kau_slide_out_top.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/drawable-v21/kau_selectable_white.xml b/core/src/main/res-public/drawable-v21/kau_selectable_white.xml new file mode 100644 index 0000000..942f149 --- /dev/null +++ b/core/src/main/res-public/drawable-v21/kau_selectable_white.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res-public/drawable/kau_selectable_white.xml b/core/src/main/res-public/drawable/kau_selectable_white.xml new file mode 100644 index 0000000..5738478 --- /dev/null +++ b/core/src/main/res-public/drawable/kau_selectable_white.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/core/src/main/res-public/drawable/kau_transparent.xml b/core/src/main/res-public/drawable/kau_transparent.xml new file mode 100644 index 0000000..399a46b --- /dev/null +++ b/core/src/main/res-public/drawable/kau_transparent.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/core/src/main/res-public/transition-v21/kau_enter_slide_bottom.xml b/core/src/main/res-public/transition-v21/kau_enter_slide_bottom.xml new file mode 100644 index 0000000..575e189 --- /dev/null +++ b/core/src/main/res-public/transition-v21/kau_enter_slide_bottom.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/res-public/transition-v21/kau_enter_slide_top.xml b/core/src/main/res-public/transition-v21/kau_enter_slide_top.xml new file mode 100644 index 0000000..8cf613b --- /dev/null +++ b/core/src/main/res-public/transition-v21/kau_enter_slide_top.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/res-public/transition-v21/kau_exit_slide_bottom.xml b/core/src/main/res-public/transition-v21/kau_exit_slide_bottom.xml new file mode 100644 index 0000000..e0967ec --- /dev/null +++ b/core/src/main/res-public/transition-v21/kau_exit_slide_bottom.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/res-public/transition-v21/kau_exit_slide_top.xml b/core/src/main/res-public/transition-v21/kau_exit_slide_top.xml new file mode 100644 index 0000000..a9849c0 --- /dev/null +++ b/core/src/main/res-public/transition-v21/kau_exit_slide_top.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + diff --git a/core/src/main/res-public/values/dimens.xml b/core/src/main/res-public/values/dimens.xml new file mode 100644 index 0000000..efc7598 --- /dev/null +++ b/core/src/main/res-public/values/dimens.xml @@ -0,0 +1,36 @@ + + + 16dp + 16dp + 24dp + 16dp + + 16dp + 8dp + 16dp + 1dip + 100dp + + 24dp + 112dp + 168dp + + 8dp + 4dp + 32dp + 48dp + 64dp + 8dp + 16dp + 24dp + 56dp + 28dp + 112sp + + + 40dp + 48dp + 4dp + 12dp + 20dp + diff --git a/core/src/main/res-public/values/public.xml b/core/src/main/res-public/values/public.xml new file mode 100644 index 0000000..7057f1f --- /dev/null +++ b/core/src/main/res-public/values/public.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/core/src/main/res-public/values/strings_commons.xml b/core/src/main/res-public/values/strings_commons.xml new file mode 100644 index 0000000..d236021 --- /dev/null +++ b/core/src/main/res-public/values/strings_commons.xml @@ -0,0 +1,74 @@ + + + + About App + About %s + Add Account + AMOLED + Back + Cancel + Changelog + Close + Contact Us + Copy + Custom + Dark + Default + Do not show again + Done + Error + Exit + Are you sure you want to exit? + Are you sure you want to exit %s? + Glass + Got it + Great + Hide + Light + Login + Logout + Are you sure you want to log out as %s? + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + Manage Account + Maybe + Menu + No + No Results Found + None + @android:string/ok + Play Store + Rate + Report A Bug + Search + Send Feedback + Send via + Settings + Share + Text copied to clipboard. + Thank You + Uh Oh + Warning + + %d day + %d days + + + %d hour + %d hours + + + %d minute + %d minutes + + + %d second + %d seconds + + Yes + Permission denied + 0 + + diff --git a/core/src/main/res-public/values/styles.xml b/core/src/main/res-public/values/styles.xml new file mode 100644 index 0000000..f6f1929 --- /dev/null +++ b/core/src/main/res-public/values/styles.xml @@ -0,0 +1,4 @@ + + + + + + + + + + + + + + + + -- cgit v1.2.3