diff options
Diffstat (limited to 'imagepicker/src/main/res')
-rw-r--r-- | imagepicker/src/main/res/layout/kau_activity_image_picker.xml | 18 | ||||
-rw-r--r-- | imagepicker/src/main/res/layout/kau_iitem_image.xml | 11 |
2 files changed, 29 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 new file mode 100644 index 0000000..d3739dd --- /dev/null +++ b/imagepicker/src/main/res/layout/kau_activity_image_picker.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<ca.allanwang.kau.widgets.ElasticDragDismissFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginTop="@dimen/kau_drag_dismiss_distance"> + + <android.support.v7.widget.Toolbar + android:id="@+id/kau_toolbar" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" /> + + <android.support.v7.widget.RecyclerView + android:id="@+id/kau_recycler" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginTop="?attr/actionBarSize" /> + +</ca.allanwang.kau.widgets.ElasticDragDismissFrameLayout>
\ 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 new file mode 100644 index 0000000..824ae7b --- /dev/null +++ b/imagepicker/src/main/res/layout/kau_iitem_image.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="80dp" + android:layout_height="80dp"> + + <ImageView + android:id="@+id/kau_image" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + +</FrameLayout>
\ No newline at end of file |