aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/src/main/res/layout/kau_activity_image_picker.xml
blob: 6e0bf6777c841c47cae6b8835cf9d8a618594ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/kau_draggable"
    app:dragDismissDistance="@dimen/kau_drag_dismiss_distance"
    app:dragDismissScale="0.95">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="@dimen/kau_drag_dismiss_distance"
        android:orientation="vertical">

        <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:background="?android:colorBackground" />

    </LinearLayout>

</ca.allanwang.kau.ui.widgets.ElasticDragDismissFrameLayout>