Fix UI styles.

This commit is contained in:
Onuray Sahin 2022-09-06 18:13:03 +03:00
parent 39364a68b1
commit 392cbeca8a
3 changed files with 9 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class DeviceManagerFilterBottomSheet : VectorBaseBottomSheetDialogFragment<Botto
} }
private fun initFilterRadioGroup() { private fun initFilterRadioGroup() {
views.filterOptionInactiveRadioButton.text = resources.getQuantityString( views.filterOptionInactiveRadioButtonDescription.text = resources.getQuantityString(
R.plurals.device_manager_filter_option_inactive_description, R.plurals.device_manager_filter_option_inactive_description,
SESSION_IS_MARKED_AS_INACTIVE_AFTER_DAYS, SESSION_IS_MARKED_AS_INACTIVE_AFTER_DAYS,
SESSION_IS_MARKED_AS_INACTIVE_AFTER_DAYS SESSION_IS_MARKED_AS_INACTIVE_AFTER_DAYS

View File

@ -9,6 +9,6 @@
<stroke <stroke
android:width="3dp" android:width="3dp"
android:color="?android:colorBackground" /> android:color="?vctr_toolbar_background" />
</shape> </shape>

View File

@ -3,7 +3,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingHorizontal="24dp"> android:paddingHorizontal="24dp"
android:paddingBottom="32dp">
<View <View
android:layout_width="36dp" android:layout_width="36dp"
@ -29,6 +30,7 @@
<RadioButton <RadioButton
android:id="@+id/filterOptionAllSessionsRadioButton" android:id="@+id/filterOptionAllSessionsRadioButton"
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:checked="true" android:checked="true"
@ -37,6 +39,7 @@
<RadioButton <RadioButton
android:id="@+id/filterOptionVerifiedRadioButton" android:id="@+id/filterOptionVerifiedRadioButton"
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="24dp" android:layout_marginTop="24dp"
@ -52,6 +55,7 @@
<RadioButton <RadioButton
android:id="@+id/filterOptionUnverifiedRadioButton" android:id="@+id/filterOptionUnverifiedRadioButton"
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
@ -67,6 +71,7 @@
<RadioButton <RadioButton
android:id="@+id/filterOptionInactiveRadioButton" android:id="@+id/filterOptionInactiveRadioButton"
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
@ -74,6 +79,7 @@
android:text="@string/device_manager_filter_option_inactive" /> android:text="@string/device_manager_filter_option_inactive" />
<TextView <TextView
android:id="@+id/filterOptionInactiveRadioButtonDescription"
style="@style/TextAppearance.Vector.Body.DevicesManagement" style="@style/TextAppearance.Vector.Body.DevicesManagement"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"