87 lines
3.0 KiB
XML
87 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/date_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="10dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/settings_time_from" />
|
|
|
|
<Button
|
|
android:id="@+id/settings_time_from"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
android:focusableInTouchMode="false" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:text="@string/settings_time_to" />
|
|
|
|
<Button
|
|
android:id="@+id/settings_time_to"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="10dp"
|
|
android:focusableInTouchMode="false" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/validate"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:contentDescription="@string/validate"
|
|
android:scaleType="centerCrop"
|
|
android:src="@drawable/ic_check_white_24" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/loader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:text="@string/collecting_data_wait" />
|
|
|
|
<ProgressBar
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/text"
|
|
android:layout_centerHorizontal="true"
|
|
android:indeterminate="true" />
|
|
</RelativeLayout>
|
|
|
|
<com.github.mikephil.charting.charts.LineChart
|
|
android:id="@+id/chart"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |