aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'imagepicker/src/main/res/layout')
-rw-r--r--imagepicker/src/main/res/layout/kau_activity_image_picker.xml1
-rw-r--r--imagepicker/src/main/res/layout/kau_iitem_image_basic.xml10
2 files changed, 11 insertions, 0 deletions
diff --git a/imagepicker/src/main/res/layout/kau_activity_image_picker.xml b/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
index 5b0300d..6d991b0 100644
--- a/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
+++ b/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
@@ -4,6 +4,7 @@
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
diff --git a/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml b/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml
new file mode 100644
index 0000000..b89e41d
--- /dev/null
+++ b/imagepicker/src/main/res/layout/kau_iitem_image_basic.xml
@@ -0,0 +1,10 @@
+<?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