Blame view

app/src/main/res/layout/fragment_event_list.xml 1.43 KB
c8a73f2c   badetitou   Adding Event frag...
1
  <?xml version="1.0" encoding="utf-8"?>
8bcd81b8   badetitou   some staff
2
3
4
5
6
7
8
9
10
  <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"
bed80725   badetitou   Correctif/PATCH
11
      android:name="net.plil.clubinfo.etunicorn.app.event.EventFragment"
c8a73f2c   badetitou   Adding Event frag...
12
13
14
15
16
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginLeft="16dp"
      android:layout_marginRight="16dp"
      app:layoutManager="LinearLayoutManager"
8bcd81b8   badetitou   some staff
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
      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>