1 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:background="@color/turquoise_dark"
7 android:fillViewport="true">
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:animateLayoutChanges="true"
13 android:orientation="vertical"
14 android:paddingBottom="20dp"
15 android:paddingLeft="@dimen/filters_side_padding"
16 android:paddingRight="@dimen/filters_side_padding"
17 android:paddingTop="20dp">
19 <android.support.v7.widget.SwitchCompat
20 android:id="@+id/swLecturesOnly"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:layout_marginLeft="10dp"
24 android:text="@string/only_lecture"
25 android:textAllCaps="true"
26 android:textColor="@color/white"
27 android:textSize="14dp"
28 app:theme="@style/DarkBackgroundSwitch"
29 tools:ignore="RtlHardcoded,SpUsage"/>
31 <android.support.v7.widget.SwitchCompat
32 android:id="@+id/swHasAudiobook"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:layout_marginLeft="10dp"
36 android:layout_marginTop="10dp"
37 android:text="@string/has_audiobook"
38 android:textAllCaps="true"
39 android:textColor="@color/white"
40 android:textSize="14dp"
41 app:theme="@style/DarkBackgroundSwitch"
42 tools:ignore="RtlHardcoded,SpUsage"/>
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:layout_marginBottom="@dimen/filters_header_spacing"
48 android:layout_marginTop="@dimen/filters_header_spacing">
51 android:id="@+id/tvEpochs"
52 style="@style/SeparatorText.White"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_alignParentStart="true"
56 android:layout_centerVertical="true"
57 android:layout_margin="10dp"
58 android:text="@string/filter_epochs"/>
61 android:layout_width="match_parent"
62 android:layout_height="1dp"
63 android:layout_centerVertical="true"
64 android:layout_margin="@dimen/separator_padding"
65 android:layout_toEndOf="@id/tvEpochs"
66 android:background="@color/white"/>
70 <com.moiseum.wolnelektury.view.search.components.FiltersProgressFlowLayout
71 android:id="@+id/pflEpochs"
72 android:layout_width="match_parent"
73 android:layout_height="wrap_content"/>
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
78 android:layout_marginBottom="@dimen/filters_header_spacing"
79 android:layout_marginTop="@dimen/filters_header_spacing">
82 android:id="@+id/tvKinds"
83 style="@style/SeparatorText.White"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:layout_alignParentStart="true"
87 android:layout_centerVertical="true"
88 android:layout_margin="10dp"
89 android:text="@string/filter_kinds"/>
92 android:layout_width="match_parent"
93 android:layout_height="1dp"
94 android:layout_centerVertical="true"
95 android:layout_margin="@dimen/separator_padding"
96 android:layout_toEndOf="@id/tvKinds"
97 android:background="@color/white"/>
101 <com.moiseum.wolnelektury.view.search.components.FiltersProgressFlowLayout
102 android:id="@+id/pflKinds"
103 android:layout_width="match_parent"
104 android:layout_height="wrap_content"/>
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
109 android:layout_marginBottom="@dimen/filters_header_spacing"
110 android:layout_marginTop="@dimen/filters_header_spacing">
113 android:id="@+id/tvGenres"
114 style="@style/SeparatorText.White"
115 android:layout_width="wrap_content"
116 android:layout_height="wrap_content"
117 android:layout_alignParentStart="true"
118 android:layout_centerVertical="true"
119 android:layout_margin="10dp"
120 android:text="@string/filter_genres"/>
123 android:layout_width="match_parent"
124 android:layout_height="1dp"
125 android:layout_centerVertical="true"
126 android:layout_margin="@dimen/separator_padding"
127 android:layout_toEndOf="@id/tvGenres"
128 android:background="@color/white"/>
132 <com.moiseum.wolnelektury.view.search.components.FiltersProgressFlowLayout
133 android:id="@+id/pflGenres"
134 android:layout_width="match_parent"
135 android:layout_height="wrap_content"/>