193 lines
7.8 KiB
XML
193 lines
7.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/root_layout_report_seizure"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
tools:context="uk.org.openseizuredetector.LogManager">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/report_seizure_content_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
tools:context="uk.org.openseizuredetector.LogManager">
|
|
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_seizure"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/date" />
|
|
|
|
<TextView
|
|
android:id="@+id/date_day_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="dd" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:text="/" />
|
|
|
|
<TextView
|
|
android:id="@+id/date_mon_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="mm" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:text="/" />
|
|
|
|
<TextView
|
|
android:id="@+id/date_year_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="yyyy" />
|
|
|
|
<Button
|
|
android:id="@+id/select_date_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/select_date" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/time" />
|
|
|
|
<TextView
|
|
android:id="@+id/time_hh_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="hh" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:text=":" />
|
|
|
|
<TextView
|
|
android:id="@+id/time_mm_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="mm" />
|
|
|
|
<Button
|
|
android:id="@+id/select_time_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/select_time" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/event_type"
|
|
android:textSize="20sp" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/eventTypeRg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"></RadioGroup>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/event_sub_type"
|
|
android:textSize="20sp" />
|
|
|
|
|
|
<RadioGroup
|
|
android:id="@+id/eventSubTypeRg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"></RadioGroup>
|
|
</LinearLayout>
|
|
|
|
<EditText
|
|
android:id="@+id/eventNotesTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="4dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginRight="4dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:hint="notes about event" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/loginBtn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/okBtnTxt" />
|
|
|
|
<Button
|
|
android:id="@+id/cancelBtn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/cancelBtnTxt" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/msg_tv"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="msg" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |