1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright © 2019 Damyan Ivanov.
4 ~ This file is part of MoLe.
5 ~ MoLe 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.
10 ~ MoLe 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.
15 ~ You should have received a copy of the GNU General Public License
16 ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
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">
33 This layout is a two-pane layout for the Profiles
38 <androidx.recyclerview.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" />
51 android:id="@+id/profile_detail_container"
52 android:layout_width="0dp"
53 android:layout_height="match_parent"
54 android:layout_weight="3" />