2020-08-18 11:16:36 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-08-23 00:03:52 +02:00
|
|
|
android:id="@+id/sport_activity_filter_background"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2020-11-22 22:33:55 +01:00
|
|
|
android:paddingStart="15dp"
|
|
|
|
android:paddingEnd="15dp">
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-08-23 13:01:54 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:orientation="vertical">
|
2020-11-22 22:33:55 +01:00
|
|
|
|
2020-08-31 23:22:17 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/select_device"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:gravity="start|center_vertical"
|
|
|
|
android:spinnerMode="dropdown"
|
|
|
|
android:textAlignment="gravity" />
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="1dp"
|
|
|
|
android:background="#000" />
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/select_kind"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:gravity="start|center_vertical"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:spinnerMode="dropdown"
|
|
|
|
android:textAlignment="gravity" />
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:background="#000" />
|
2020-08-18 11:16:36 +02:00
|
|
|
|
2020-08-24 00:09:10 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filtername"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingBottom="5dp">
|
2020-08-24 00:09:10 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/textViewNameData"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-22 22:33:55 +01:00
|
|
|
android:autofillHints="@string/activity_filter_name_contains"
|
|
|
|
android:hint="@string/activity_filter_name_contains"
|
2020-08-24 00:09:10 +02:00
|
|
|
android:inputType="text"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
2020-08-24 00:09:10 +02:00
|
|
|
android:textAlignment="textStart"
|
2020-11-22 22:33:55 +01:00
|
|
|
android:textSize="16sp" />
|
2020-08-24 00:09:10 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:background="#000" />
|
2020-08-24 00:09:10 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filterfrom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="15dp">
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewFromLabel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_date_from"
|
|
|
|
android:textAlignment="textStart"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:textSize="16sp" />
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewFromData"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-22 22:33:55 +01:00
|
|
|
android:hint="@string/activity_filter_from_placeholder"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:textAlignment="textStart"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:textSize="16sp" />
|
2020-08-18 11:16:36 +02:00
|
|
|
</LinearLayout>
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:background="#000" />
|
2020-08-23 13:01:54 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filterto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="15dp">
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewTolabel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_date_to"
|
|
|
|
android:textAlignment="textStart"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:textSize="16sp" />
|
2020-08-18 11:16:36 +02:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewToData"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-22 22:33:55 +01:00
|
|
|
android:hint="@string/activity_filter_to_placeholder"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:textAlignment="textStart"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:textSize="16sp" />
|
2020-08-23 13:01:54 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
</LinearLayout>
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
2020-08-31 23:22:17 +02:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/quick_filter_period_select"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start|center_vertical"
|
|
|
|
android:spinnerMode="dropdown"
|
|
|
|
android:textAlignment="gravity" />
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:background="#000" />
|
2020-08-18 11:16:36 +02:00
|
|
|
|
2020-08-31 23:22:17 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filteritems"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="15dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewItemslabel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_individual_items"
|
|
|
|
android:textAlignment="textStart"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textViewItemsData"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAlignment="textStart"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
</LinearLayout>
|
2020-11-22 22:33:55 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1.5dp"
|
|
|
|
android:background="#000" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:background="#000" />
|
2020-08-23 13:01:54 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/reset_filter_button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_reset_filter" />
|
2020-08-23 00:03:52 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
2020-08-31 23:22:17 +02:00
|
|
|
android:layout_height="0dp"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:layout_weight="1" />
|
2020-08-23 00:03:52 +02:00
|
|
|
|
2020-08-18 11:16:36 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/apply_filter_button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_apply_filter" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|