126 lines
4.8 KiB
XML
126 lines
4.8 KiB
XML
<android.support.v4.widget.DrawerLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/drawer_layout"
|
|
android:background="@drawable/bg_main2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ReportActivity">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_report_short"
|
|
android:text="@string/lbl_report_short"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/input_report_short"
|
|
android:layout_alignStart="@+id/input_report_short"/>
|
|
|
|
<EditText
|
|
android:id="@+id/input_report_short"
|
|
android:hint="@string/input_report_short_hint"
|
|
android:inputType="text"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:singleLine="true"
|
|
android:textColor="@color/input_login"
|
|
android:textColorHint="@color/input_login_hint"
|
|
android:layout_marginTop="20dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_report_long"
|
|
android:text="@string/lbl_report_long"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_below="@+id/input_report_short" />
|
|
|
|
<EditText
|
|
android:id="@+id/input_report_long"
|
|
android:hint="@string/input_report_long_hint"
|
|
android:inputType="textMultiLine"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="top|left"
|
|
android:padding="10dp"
|
|
android:singleLine="true"
|
|
android:textColor="@color/input_login"
|
|
android:textColorHint="@color/input_login_hint"
|
|
android:layout_below="@+id/lbl_report_long"
|
|
android:scrollbars="vertical"
|
|
android:minLines="5"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_report_category"
|
|
android:text="@string/lbl_report_category"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_below="@+id/input_report_long" />
|
|
|
|
<Spinner
|
|
android:id="@+id/dd_report_category"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/lbl_report_category"/>
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_report_date"
|
|
android:text="@string/lbl_report_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_below="@+id/dd_report_category" />
|
|
|
|
<TextView
|
|
android:id="@+id/lbl_report_time"
|
|
android:text="@string/lbl_report_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_above="@+id/txt_report_time"
|
|
android:layout_alignLeft="@+id/txt_report_time"
|
|
android:layout_alignStart="@+id/txt_report_time"/>
|
|
|
|
<EditText
|
|
android:id="@+id/txt_report_date"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="date"
|
|
android:ems="10"
|
|
android:layout_below="@+id/lbl_report_date"
|
|
android:layout_alignLeft="@+id/lbl_report_date"
|
|
android:layout_alignStart="@+id/lbl_report_date"
|
|
android:focusable="false"/>
|
|
|
|
<EditText
|
|
android:id="@+id/txt_report_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="time"
|
|
android:ems="10"
|
|
android:layout_alignBottom="@+id/txt_report_date"
|
|
android:layout_toRightOf="@+id/txt_report_date"
|
|
android:layout_toEndOf="@+id/txt_report_date"
|
|
android:focusable="false"/>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/navList"
|
|
android:layout_width="200dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:background="#ffeeee"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|