implement filtering, move time label above the slider, minor performance optimizations

This commit is contained in:
cyBerta
2019-03-26 16:05:11 +01:00
parent f57b72d072
commit 37974f2ce8
7 changed files with 122 additions and 50 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_height="165dp"
android:id="@+id/bottom_sheet"
app:behavior_hideable="true"
app:behavior_peekHeight="35dp"
@@ -50,12 +50,13 @@
android:gravity="center"
android:text="@string/filter_map_on_time"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:background="@color/white"
android:textColor="@android:color/black" />
<org.thoughtcrime.securesms.components.rangeslider.TimeRangeSlider
android:id="@+id/timeRangeSlider"
android:layout_marginBottom="10dp"
android:layout_marginBottom="15dp"
android:paddingStart="32dp"
android:paddingEnd="32dp"
+1 -1
View File
@@ -57,7 +57,7 @@
<dimen name="slider_thumbRadius">14dp</dimen>
<dimen name="slider_thumbOutlineSize">4dp</dimen>
<dimen name="slider_displayTextFontSize">12sp</dimen>
<dimen name="slider_displayTextBasicOffsetY">6dp</dimen>
<dimen name="slider_displayTextBasicOffsetY">8dp</dimen>
<integer name="slider_minValue">100</integer>
<integer name="slider_maxValue">100</integer>