Fixing padding of the scrollbar and avoid using rtl layout in RadioGroup
This commit is contained in:
parent
a86f2e03cc
commit
7ea1f65fe3
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
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"
|
||||||
|
@ -22,14 +23,16 @@
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:paddingEnd="5dp"
|
||||||
|
android:scrollbarStyle="outsideOverlay"
|
||||||
|
tools:ignore="RtlSymmetry">
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/filterOptionsRadioGroup"
|
android:id="@+id/filterOptionsRadioGroup"
|
||||||
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:paddingTop="24dp"
|
||||||
android:layoutDirection="rtl"
|
|
||||||
android:showDividers="none">
|
android:showDividers="none">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
|
@ -37,25 +40,34 @@
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
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_gravity="start"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
android:checked="true"
|
android:checked="true"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
android:minHeight="0dp"
|
android:minHeight="0dp"
|
||||||
android:text="@string/device_manager_filter_option_all_sessions" />
|
android:text="@string/device_manager_filter_option_all_sessions"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/filterOptionVerifiedRadioButton"
|
android:id="@+id/filterOptionVerifiedRadioButton"
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
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_gravity="start"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
android:minHeight="0dp"
|
android:minHeight="0dp"
|
||||||
android:text="@string/device_manager_filter_option_verified" />
|
android:text="@string/device_manager_filter_option_verified"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/filterOptionVerifiedTextView"
|
android:id="@+id/filterOptionVerifiedTextView"
|
||||||
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"
|
||||||
android:layout_gravity="end"
|
|
||||||
android:text="@string/device_manager_filter_option_verified_description" />
|
android:text="@string/device_manager_filter_option_verified_description" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
|
@ -63,16 +75,20 @@
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
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_gravity="start"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
android:minHeight="0dp"
|
android:minHeight="0dp"
|
||||||
android:text="@string/device_manager_filter_option_unverified" />
|
android:text="@string/device_manager_filter_option_unverified"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/filterOptionUnverifiedTextView"
|
android:id="@+id/filterOptionUnverifiedTextView"
|
||||||
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"
|
||||||
android:layout_gravity="end"
|
|
||||||
android:text="@string/device_manager_filter_option_unverified_description" />
|
android:text="@string/device_manager_filter_option_unverified_description" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
|
@ -80,16 +96,20 @@
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
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_gravity="start"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
android:minHeight="0dp"
|
android:minHeight="0dp"
|
||||||
android:text="@string/device_manager_filter_option_inactive" />
|
android:text="@string/device_manager_filter_option_inactive"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/filterOptionInactiveTextView"
|
android:id="@+id/filterOptionInactiveTextView"
|
||||||
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" />
|
||||||
android:layout_gravity="end" />
|
|
||||||
|
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue