fragment_event_list.xml
1.43 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
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
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.support.v7.widget.RecyclerView
android:id="@+id/event_list"
android:name="net.plil.clubinfo.etunicorn.app.Event.EventFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
app:layoutManager="LinearLayoutManager"
tools:context="net.plil.clubinfo.etunicorn.app.event.EventFragment"
tools:listitem="@layout/fragment_event"
/>
<android.support.design.widget.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:layout_gravity="bottom|end"
android:layout_margin="24dp"
android:id="@+id/event_add"
app:fabSize="auto"
app:srcCompat="@android:drawable/ic_menu_add"
app:backgroundTint="@color/colorPrimaryDark"
app:elevation="6dp"
app:rippleColor="@color/colorAccent"
app:layout_anchor="@id/event_list"
app:layout_anchorGravity="bottom|right|end"
app:layout_behavior="net.plil.clubinfo.etunicorn.utils.ScrollAwareFABBehavior" />
</android.support.design.widget.CoordinatorLayout>