diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-09 05:12:00 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-09 05:12:00 -0500 |
commit | 52cdf3e7e5fb4292d1dfa99ba123701ca7959092 (patch) | |
tree | 9ce3ef9fc6d6865429789423deb1079f739461f2 /app/src/main/res/layout-land | |
parent | 2e3daa89139652e0af1ec011ac1da6105a1d871e (diff) |
ProfileActivity: Replace fragments instead of hiding
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout-land')
-rw-r--r-- | app/src/main/res/layout-land/profile_list_activity.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/src/main/res/layout-land/profile_list_activity.xml b/app/src/main/res/layout-land/profile_list_activity.xml new file mode 100644 index 00000000..dc7b5c3b --- /dev/null +++ b/app/src/main/res/layout-land/profile_list_activity.xml @@ -0,0 +1,20 @@ +<?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"> + + <fragment + android:name="com.wireguard.android.ProfileListFragment" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:tag="list" /> + + <FrameLayout + android:id="@+id/fragment_container" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="2" /> +</LinearLayout> |