[android] Fixed night mode in sorting dialog.

This commit is contained in:
velichkomarija 2020-11-25 17:13:48 +03:00 committed by Alexander Boriskov
parent c6b3fa0567
commit 5e291c3cee

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_double_and_half"
android:padding="@dimen/margin_base_plus"
android:background="?cardBackground"
android:minWidth="@dimen/dialog_min_width"
android:minHeight="@dimen/dialog_min_height">
android:minHeight="@dimen/dialog_min_height"
android:orientation="vertical"
android:padding="@dimen/margin_base_plus">
<TextView
android:layout_width="match_parent"
@ -26,37 +26,37 @@
android:layout_marginTop="@dimen/margin_base">
<RadioButton
style="?fontSubtitle1"
android:id="@+id/sort_by_default"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/MwmTextAppearance.Body2.Primary"
android:padding="@dimen/margin_half_plus"
android:checked="true"
android:text="@string/by_default"/>
<RadioButton
style="?fontSubtitle1"
android:id="@+id/sort_by_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/MwmTextAppearance.Body2.Primary"
android:padding="@dimen/margin_half_plus"
android:checked="false"
android:text="@string/by_type"/>
<RadioButton
style="?fontSubtitle1"
android:id="@+id/sort_by_distance"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/MwmTextAppearance.Body2.Primary"
android:padding="@dimen/margin_half_plus"
android:checked="false"
android:text="@string/by_distance"/>
<RadioButton
style="?fontSubtitle1"
android:id="@+id/sort_by_time"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/MwmTextAppearance.Body2.Primary"
android:padding="@dimen/margin_half_plus"
android:checked="false"
android:text="@string/by_date"/>