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

activity_user_area.xml

Blame
  • activity_user_area.xml 2.95 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"
    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"