diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-09 06:19:37 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-09 06:19:37 -0500 |
commit | 39ed03f758fdcb22dd01ca576e31b19057ca387a (patch) | |
tree | 829c04cbd18b943e95ea5ee7714001f8d65dba21 /app/src/main/res/layout | |
parent | 52cdf3e7e5fb4292d1dfa99ba123701ca7959092 (diff) |
ProfileList: Add the list fragment in code so it knows the layout
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/profile_list_activity.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/profile_list_item.xml | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/layout/profile_list_activity.xml b/app/src/main/res/layout/profile_list_activity.xml index f66a0cb3..41d772a7 100644 --- a/app/src/main/res/layout/profile_list_activity.xml +++ b/app/src/main/res/layout/profile_list_activity.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<fragment xmlns:android="http://schemas.android.com/apk/res/android" - android:name="com.wireguard.android.ProfileListFragment" +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/list_container" android:layout_width="match_parent" - android:layout_height="match_parent" - android:tag="list" /> + android:layout_height="match_parent" /> diff --git a/app/src/main/res/layout/profile_list_item.xml b/app/src/main/res/layout/profile_list_item.xml index 10d0c14b..22e93f5c 100644 --- a/app/src/main/res/layout/profile_list_item.xml +++ b/app/src/main/res/layout/profile_list_item.xml @@ -11,6 +11,7 @@ <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/activatedBackgroundIndicator" android:padding="16dp"> <TextView |