menu: avoid nesting fragments
Tuleap: #468
Change-Id: I73f61fcf75e32f80074f390a5334a8d0cdda455a
diff --git a/ring-android/app/src/main/res/layout/menuheader.xml b/ring-android/app/src/main/res/layout/menuheader.xml
index 47a4aee..ebc0000 100644
--- a/ring-android/app/src/main/res/layout/menuheader.xml
+++ b/ring-android/app/src/main/res/layout/menuheader.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical">
-
- <fragment
- android:id="@+id/accountselector"
- android:name="cx.ring.fragments.MenuFragment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:layout="@layout/frag_menu_header" />
-</LinearLayout>
\ No newline at end of file
+ android:orientation="vertical"
+ android:id="@+id/menu_head">
+</FrameLayout>
\ No newline at end of file