friend_list.xml 1.33 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
5 6 7 8 9 10 11 12 13
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginLeft="16dp"
    android:layout_marginRight="16dp"
    android:baselineAligned="false"
    android:divider="?android:attr/dividerHorizontal"
    android:orientation="horizontal"
    android:showDividers="middle"
    tools:context=".ui.FriendListActivity">
14

15 16
    <!-- This layout is a two-pane layout for the Friends
    master/detail flow. -->
17

18 19 20 21
    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/friend_list"
        android:name="fr.plnech.dunbar.FriendListFragment"
        android:layout_width="@dimen/item_width"
22 23 24
        android:layout_height="match_parent"
        android:layout_marginLeft="16dp"
        android:layout_marginRight="16dp"
25 26 27
        app:layoutManager="LinearLayoutManager"
        tools:context="fr.plnech.dunbar.ui.FriendListActivity"
        tools:listitem="@layout/friend_list_content" />
28

29 30 31 32 33
    <FrameLayout
        android:id="@+id/friend_detail_container"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="3" />
34

35
</LinearLayout>