Skip to content
Snippets Groups Projects
Select Git revision
  • d6a1fc2ab80b9958e291f48c0ee6cf2ca70a83c4
  • master default
2 results

activity_user_area.xml

Blame
  • activity_user_area.xml 2.82 KiB
    <?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"
        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="@color/wallet_holo_blue_light"
            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: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: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 km"
    
            android:inputType="number" />
        <Button
            android:id="@+id/save"