diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-07 18:51:47 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-07 18:51:47 -0500 |
commit | 337c280b3919d43a802635ec2a39567afba9a7e3 (patch) | |
tree | 6c07d280ea64596a301091ddbdad3be9b528b02e /app/src/main/res/layout-land | |
parent | 0d6a88874a2984843d05d76364e9bcc73b28e24c (diff) |
ProfileActivity: Add two-pane master-detail layout
This is designed for tablets, but for testing purposes, it is currently
enabled for all devices in landscape orientation.
Diffstat (limited to 'app/src/main/res/layout-land')
-rw-r--r-- | app/src/main/res/layout-land/profile_activity.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/layout-land/profile_activity.xml b/app/src/main/res/layout-land/profile_activity.xml new file mode 100644 index 00000000..acc56925 --- /dev/null +++ b/app/src/main/res/layout-land/profile_activity.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:baselineAligned="false" + android:orientation="horizontal"> + + <FrameLayout + android:id="@+id/list_fragment_container" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" /> + + <FrameLayout + android:id="@+id/detail_fragment_container" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="2" /> +</LinearLayout> |