image_select_activity.xml
1.84 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.studymachine.www.ui.activity.ImageSelectActivity">
<com.hjq.bar.TitleBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title="@string/image_select_title" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.studymachine.www.widget.StatusLayout
android:id="@+id/hl_image_select_hint"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_image_select_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:itemCount="20"
tools:layoutManager="GridLayoutManager"
tools:listitem="@layout/image_select_item"
tools:spanCount="3" />
</com.studymachine.www.widget.StatusLayout>
<com.hjq.widget.view.FloatActionButton
android:id="@+id/fab_image_select_floating"
android:layout_width="@dimen/dp_60"
android:layout_height="@dimen/dp_60"
android:layout_gravity="end|bottom"
android:layout_marginEnd="@dimen/dp_15"
android:layout_marginBottom="@dimen/dp_20"
android:background="@drawable/roll_accent_bg"
android:padding="@dimen/dp_20"
app:srcCompat="@drawable/camera_ic" />
</FrameLayout>
</LinearLayout>