]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout-w900dp/profile_list.xml
5d21e302003de8cd42d52d64c62d26531cbb94f0
[mobile-ledger.git] / app / src / main / res / layout-w900dp / profile_list.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2019 Damyan Ivanov.
4   ~ This file is part of Mobile-Ledger.
5   ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6   ~ under the term of the GNU General Public License as published by
7   ~ the Free Software Foundation, either version 3 of the License, or
8   ~ (at your opinion), any later version.
9   ~
10   ~ Mobile-Ledger is distributed in the hope that it will be useful,
11   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   ~ GNU General Public License terms for details.
14   ~
15   ~ You should have received a copy of the GNU General Public License
16   ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
17   -->
18
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     xmlns:app="http://schemas.android.com/apk/res-auto"
21     xmlns:tools="http://schemas.android.com/tools"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     android:layout_marginLeft="16dp"
25     android:layout_marginRight="16dp"
26     android:baselineAligned="false"
27     android:divider="?android:attr/dividerHorizontal"
28     android:orientation="horizontal"
29     android:showDividers="middle"
30     tools:context=".ui.activity.ProfileListActivity">
31
32     <!--
33     This layout is a two-pane layout for the Profiles
34     master/detail flow.
35     
36     -->
37
38     <android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
39         xmlns:tools="http://schemas.android.com/tools"
40         android:id="@+id/profile_list"
41         android:name="net.ktnx.mobileledger.ui.activity.ProfileListFragment"
42         android:layout_width="@dimen/item_width"
43         android:layout_height="match_parent"
44         android:layout_marginLeft="16dp"
45         android:layout_marginRight="16dp"
46         app:layoutManager="LinearLayoutManager"
47         tools:context="net.ktnx.mobileledger.ui.activity.ProfileListActivity"
48         tools:listitem="@layout/profile_list_content" />
49
50     <FrameLayout
51         android:id="@+id/profile_detail_container"
52         android:layout_width="0dp"
53         android:layout_height="match_parent"
54         android:layout_weight="3" />
55
56 </LinearLayout>