diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-04 12:24:18 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-04 12:24:18 -0500 |
commit | 81ab643d2bf17b7ac5c70efa6f33e0737969cf85 (patch) | |
tree | ac1c1c04bf6011e2d8f41e8519d212288bfe902a /app/src/main/res/layout/profile_activity.xml | |
parent | d0bf3b6b320f2beea79fce284b02747617e5e291 (diff) |
ProfileList: Convert to a fragment
This is required for a future two-fragment tablet layout, and simplifies
the code a bit since the profile detail (view/edit) will be implemented
as fragments anyway.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout/profile_activity.xml')
-rw-r--r-- | app/src/main/res/layout/profile_activity.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/layout/profile_activity.xml b/app/src/main/res/layout/profile_activity.xml new file mode 100644 index 00000000..e408985d --- /dev/null +++ b/app/src/main/res/layout/profile_activity.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/profile_list_fragment" + android:name="com.wireguard.android.ProfileListFragment" + android:layout_width="match_parent" + android:layout_height="match_parent" /> |