<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/activity_user_area" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/gradient1" tools:context="com.example.chan24.smartplanner.UserArea" > <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:id="@+id/textView2" android:layout_width="match_parent" android:text="" android:textColor="#66CCCC" android:textSize="35dp" android:textAlignment="center" android:layout_height="80dp" /> <TextView android:layout_width="match_parent" android:layout_height="35dp" android:text="What do you want to do?" android:textColor="@color/colorPrimaryDark" android:textStyle="bold" android:textSize="25dp" android:layout_marginTop="10dp" /> <CheckBox android:id="@+id/shopping" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:text="Shopping" /> <CheckBox android:id="@+id/supermarket" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Supermarket" /> <CheckBox android:id="@+id/dining" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Dining" /> <TextView android:layout_width="match_parent" android:layout_height="35dp" android:text="How far can you go?" android:textStyle="bold" android:textSize="25dp" android:textColor="@color/colorPrimary" android:layout_marginTop="30dp" /> <EditText android:id="@+id/distance" android:layout_width="match_parent" android:layout_height="45dp" android:layout_marginTop="20dp" android:hint="Distance in m" android:textStyle="bold" android:inputType="number" /> <Button android:id="@+id/save" android:layout_width="120dp" android:layout_height="wrap_content" android:layout_marginTop="55dp" android:background="@drawable/rbut" android:layout_gravity="center" android:text="Find places!" /> </LinearLayout> <android.support.design.widget.NavigationView android:layout_width="wrap_content" android:layout_height="match_parent" android:background="#FFFFE0" app:menu="@menu/navigation_menu" app:headerLayout="@layout/navigation_header" android:layout_gravity="start" android:id="@+id/navigation_view"> </android.support.design.widget.NavigationView> </android.support.v4.widget.DrawerLayout>