summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-04 12:24:18 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-04 12:24:18 -0500
commitbd882a9f164010da32751570c2e09647fbbba887 (patch)
treeac1c1c04bf6011e2d8f41e8519d212288bfe902a /app/src/main/res
parent77a4e9639277e28eb9b164b4f9088ac667952573 (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.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/profile_activity.xml6
-rw-r--r--app/src/main/res/layout/profile_list_fragment.xml (renamed from app/src/main/res/layout/profile_list_activity.xml)0
-rw-r--r--app/src/main/res/menu/main.xml (renamed from app/src/main/res/menu/profile_list.xml)0
3 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" />
diff --git a/app/src/main/res/layout/profile_list_activity.xml b/app/src/main/res/layout/profile_list_fragment.xml
index 29ce62e7..29ce62e7 100644
--- a/app/src/main/res/layout/profile_list_activity.xml
+++ b/app/src/main/res/layout/profile_list_fragment.xml
diff --git a/app/src/main/res/menu/profile_list.xml b/app/src/main/res/menu/main.xml
index 96479d08..96479d08 100644
--- a/app/src/main/res/menu/profile_list.xml
+++ b/app/src/main/res/menu/main.xml