aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/src/main/res/layout/kau_iitem_image.xml
diff options
context:
space:
mode:
Diffstat (limited to 'imagepicker/src/main/res/layout/kau_iitem_image.xml')
-rw-r--r--imagepicker/src/main/res/layout/kau_iitem_image.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/imagepicker/src/main/res/layout/kau_iitem_image.xml b/imagepicker/src/main/res/layout/kau_iitem_image.xml
index 22cc998..9d51d77 100644
--- a/imagepicker/src/main/res/layout/kau_iitem_image.xml
+++ b/imagepicker/src/main/res/layout/kau_iitem_image.xml
@@ -1,15 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<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">
-
- <ImageView
- android:id="@+id/kau_image"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:scaleType="centerCrop"
- android:background="#f0f"
- app:layout_constraintDimensionRatio="1:1" />
-
-</android.support.constraint.ConstraintLayout> \ No newline at end of file
+ android:layout_height="match_parent"
+ android:layout_margin="2dp"
+ android:foreground="@drawable/kau_selectable_white"
+ app:relativeHeight="1" /> \ No newline at end of file