aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-31 23:02:01 -0700
committerGitHub <noreply@github.com>2017-07-31 23:02:01 -0700
commit48213d0b427c478865c75fee912ff1ae8bbaffb5 (patch)
tree7aef1d8400fc3403ee5a40aba945f33a95319359 /imagepicker/src/main/res
parent8a4e9fd44dfbcf58aa7ab63167dcbdf8752db7d0 (diff)
downloadkau-48213d0b427c478865c75fee912ff1ae8bbaffb5.tar.gz
kau-48213d0b427c478865c75fee912ff1ae8bbaffb5.tar.bz2
kau-48213d0b427c478865c75fee912ff1ae8bbaffb5.zip
Major update to core and kotterknife; create mediapicker (#15)
* Readme * Fix kau direction bits * Truly support transparent ripples * Update changelog * Test rect as base * Replace fab transition with generic fade scale transition * Add scalexy func * Add scaleXY * Add arguments to fadeScaleTransition * Clean up ink indicator * Create setOnSingleTapListener * Fix lint and add rndColor * Create kotterknife resettables * Add readme and missing object * Create lazy resettable registered * Update core docs * Opt for separate class for resettable registry * Clean up resettable registry * Rename functions * Add ripple callback listener * Adjust kprefactivity desc color * Add more transitions * Add delete keys option * Add instrumentation tests * switch id * Revert automatic instrumental tests * Generify imagepickercore and prepare video alternative * Create working video picker * Address possible null issue * Update searchview * Make layouts public * Add changelog test * Update logo link * Add custom color gif
Diffstat (limited to 'imagepicker/src/main/res')
-rw-r--r--imagepicker/src/main/res/layout-v21/kau_activity_image_picker_overlay.xml17
-rw-r--r--imagepicker/src/main/res/layout/kau_activity_image_picker.xml55
-rw-r--r--imagepicker/src/main/res/layout/kau_blurred_imageview.xml32
-rw-r--r--imagepicker/src/main/res/layout/kau_iitem_image.xml9
-rw-r--r--imagepicker/src/main/res/layout/kau_iitem_image_basic.xml10
-rw-r--r--imagepicker/src/main/res/transition-v21/kau_image_enter.xml16
-rw-r--r--imagepicker/src/main/res/transition-v21/kau_image_exit_bottom.xml16
-rw-r--r--imagepicker/src/main/res/transition-v21/kau_image_exit_top.xml16
-rw-r--r--imagepicker/src/main/res/values/strings.xml7
9 files changed, 0 insertions, 178 deletions
diff --git a/imagepicker/src/main/res/layout-v21/kau_activity_image_picker_overlay.xml b/imagepicker/src/main/res/layout-v21/kau_activity_image_picker_overlay.xml
deleted file mode 100644
index a0ce301..0000000
--- a/imagepicker/src/main/res/layout-v21/kau_activity_image_picker_overlay.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/kau_draggable"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:dragDismissDistance="@dimen/kau_drag_dismiss_distance_large"
- app:dragDismissScale="0.95">
-
- <android.support.v7.widget.RecyclerView
- android:id="@+id/kau_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/kau_drag_dismiss_distance"
- android:background="?android:colorBackground" />
-
-</ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout> \ No newline at end of file
diff --git a/imagepicker/src/main/res/layout/kau_activity_image_picker.xml b/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
deleted file mode 100644
index 6d991b0..0000000
--- a/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/kau_coordinator"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="?android:colorBackground"
- android:fitsSystemWindows="true">
-
- <android.support.design.widget.AppBarLayout
- android:id="@+id/kau_appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
-
- <android.support.v7.widget.Toolbar
- android:id="@+id/kau_toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:layout_scrollFlags="scroll|enterAlways"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
-
- <TextView
- android:id="@+id/kau_selection_count"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:drawablePadding="@dimen/kau_padding_small"
- android:gravity="center_vertical"
- android:paddingEnd="@dimen/kau_padding_normal"
- android:paddingStart="@dimen/kau_padding_normal"
- android:text="@string/kau_0" />
-
- </android.support.v7.widget.Toolbar>
-
- </android.support.design.widget.AppBarLayout>
-
- <android.support.v7.widget.RecyclerView
- android:id="@+id/kau_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/kau_fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/kau_fab_margin"
- android:clickable="true"
- app:backgroundTint="?colorAccent"
- app:layout_anchor="@id/kau_recyclerview"
- app:layout_anchorGravity="bottom|right|end" />
-
-
-</android.support.design.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/imagepicker/src/main/res/layout/kau_blurred_imageview.xml b/imagepicker/src/main/res/layout/kau_blurred_imageview.xml
deleted file mode 100644
index e28cb9a..0000000
--- a/imagepicker/src/main/res/layout/kau_blurred_imageview.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<merge xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <ImageView
- android:id="@+id/image_base"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:contentDescription="@string/kau_blurrable_imageview"
- android:scaleType="centerCrop" />
-
- <ImageView
- android:id="@+id/image_blur"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:alpha="0"
- android:contentDescription="@string/kau_blurrable_imageview"
- android:scaleType="centerCrop" />
-
- <ImageView
- android:id="@+id/image_foreground"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:alpha="0"
- android:background="@color/kau_blurred_image_selection_overlay"
- android:contentDescription="@string/kau_blurrable_imageview"
- android:scaleType="centerInside" />
-
-</merge> \ No newline at end of file
diff --git a/imagepicker/src/main/res/layout/kau_iitem_image.xml b/imagepicker/src/main/res/layout/kau_iitem_image.xml
deleted file mode 100644
index 9d51d77..0000000
--- a/imagepicker/src/main/res/layout/kau_iitem_image.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ca.allanwang.kau.imagepicker.BlurredImageView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/kau_image"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="2dp"
- android:foreground="@drawable/kau_selectable_white"
- app:relativeHeight="1" /> \ No newline at end of file
diff --git a/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml b/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml
deleted file mode 100644
index b89e41d..0000000
--- a/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ca.allanwang.kau.ui.views.MeasuredImageView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/kau_image"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="2dp"
- android:foreground="@drawable/kau_selectable_white"
- android:scaleType="centerCrop"
- app:relativeHeight="1" /> \ No newline at end of file
diff --git a/imagepicker/src/main/res/transition-v21/kau_image_enter.xml b/imagepicker/src/main/res/transition-v21/kau_image_enter.xml
deleted file mode 100644
index 447c0c9..0000000
--- a/imagepicker/src/main/res/transition-v21/kau_image_enter.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
- android:interpolator="@android:interpolator/fast_out_linear_in"
- android:transitionOrdering="together">
-
- <slide
- android:duration="400"
- android:slideEdge="bottom">
- <targets android:targetId="@id/kau_draggable" />
- </slide>
-
- <fade
- android:duration="200"
- android:startDelay="200" />
-
-</transitionSet>
diff --git a/imagepicker/src/main/res/transition-v21/kau_image_exit_bottom.xml b/imagepicker/src/main/res/transition-v21/kau_image_exit_bottom.xml
deleted file mode 100644
index 447c0c9..0000000
--- a/imagepicker/src/main/res/transition-v21/kau_image_exit_bottom.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
- android:interpolator="@android:interpolator/fast_out_linear_in"
- android:transitionOrdering="together">
-
- <slide
- android:duration="400"
- android:slideEdge="bottom">
- <targets android:targetId="@id/kau_draggable" />
- </slide>
-
- <fade
- android:duration="200"
- android:startDelay="200" />
-
-</transitionSet>
diff --git a/imagepicker/src/main/res/transition-v21/kau_image_exit_top.xml b/imagepicker/src/main/res/transition-v21/kau_image_exit_top.xml
deleted file mode 100644
index 8d64f48..0000000
--- a/imagepicker/src/main/res/transition-v21/kau_image_exit_top.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
- android:interpolator="@android:interpolator/fast_out_linear_in"
- android:transitionOrdering="together">
-
- <slide
- android:duration="400"
- android:slideEdge="top">
- <targets android:targetId="@id/kau_draggable" />
- </slide>
-
- <fade
- android:duration="200"
- android:startDelay="200" />
-
-</transitionSet>
diff --git a/imagepicker/src/main/res/values/strings.xml b/imagepicker/src/main/res/values/strings.xml
deleted file mode 100644
index 17af1d8..0000000
--- a/imagepicker/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="kau_no_images_found">No images found</string>
- <string name="kau_no_images_selected">No images have been selected</string>
- <string name="kau_blurrable_imageview">Blurrable ImageView</string>
- <string name="kau_no_images_loaded">No images loaded</string>
-</resources> \ No newline at end of file