2020-08-18 11:16:36 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
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"
|
|
|
|
android:padding="20dp"
|
|
|
|
tools:viewBindingIgnore="true">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView4"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-black"
|
|
|
|
android:text="@string/activity_filter_filter_title" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/select_kind"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="left"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:spinnerMode="dropdown"
|
|
|
|
android:textAlignment="gravity" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filterfrom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
android:paddingBottom="20dp">
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:paddingEnd="30dp"
|
|
|
|
android:textAlignment="textStart"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/filterto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
android:paddingBottom="20dp">
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:paddingEnd="30dp"
|
|
|
|
android:textAlignment="textStart"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/reset_filter_button"
|
2020-08-23 00:03:52 +02:00
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
2020-08-18 11:16:36 +02:00
|
|
|
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"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
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"
|
2020-08-23 00:03:52 +02:00
|
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
2020-08-18 11:16:36 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_filter_apply_filter" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|