skip to Main Content

Android Studio – NavigationView Tablelayout showing in all the fragments

I am trying to attach a TableLayout into my Navigation drawer activity. The TableLayout should not show when I click the menu items. This is my XML file: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/drawer_layout" android:fitsSystemWindows="true" tools:context=".Homepage"…

VIEW QUESTION

Android Studio – Android RadioButton button not appearing in editor

Here is my activity_main.xml : <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="@android:color/white"> <include layout="@layout/toolbar"></include> <RadioGroup android:id="@+id/choixPersonnage" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <RadioButton android:id="@+id/boutonGuerrier" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/personnage1" android:textSize="20sp"/> <RadioButton android:id="@+id/boutonMage" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/personnage2" android:textSize="20sp"/> </RadioGroup> </LinearLayout> And here is what appears in my…

VIEW QUESTION
Back To Top
Search