Merge pull request #7791 from vector-im/fix/mna/filter-bottom-sheet-content-cut
[Session manager] Other sessions: Filter bottom sheet cut in landscape mode (PSG-1107)
This commit is contained in:
commit
8dd2ebf249
|
@ -0,0 +1 @@
|
||||||
|
[Session manager] Other sessions: Filter bottom sheet cut in landscape mode
|
|
@ -2,9 +2,7 @@
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
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:paddingBottom="32dp">
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="36dp"
|
android:layout_width="36dp"
|
||||||
|
@ -18,75 +16,102 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
|
android:paddingHorizontal="24dp"
|
||||||
android:text="@string/device_manager_filter_bottom_sheet_title" />
|
android:text="@string/device_manager_filter_bottom_sheet_title" />
|
||||||
|
|
||||||
<RadioGroup
|
<ScrollView
|
||||||
android:id="@+id/filterOptionsRadioGroup"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginTop="24dp"
|
android:clipToPadding="false"
|
||||||
android:layoutDirection="rtl"
|
android:paddingHorizontal="24dp"
|
||||||
android:showDividers="none">
|
android:paddingBottom="32dp"
|
||||||
|
android:scrollbarStyle="outsideOverlay">
|
||||||
|
|
||||||
<RadioButton
|
<RadioGroup
|
||||||
android:id="@+id/filterOptionAllSessionsRadioButton"
|
android:id="@+id/filterOptionsRadioGroup"
|
||||||
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:paddingTop="24dp"
|
||||||
android:minHeight="0dp"
|
android:showDividers="none">
|
||||||
android:text="@string/device_manager_filter_option_all_sessions" />
|
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/filterOptionVerifiedRadioButton"
|
android:id="@+id/filterOptionAllSessionsRadioButton"
|
||||||
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_marginTop="24dp"
|
android:layout_gravity="start"
|
||||||
android:minHeight="0dp"
|
android:background="?android:selectableItemBackground"
|
||||||
android:text="@string/device_manager_filter_option_verified" />
|
android:button="@null"
|
||||||
|
android:checked="true"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
|
android:minHeight="0dp"
|
||||||
|
android:text="@string/device_manager_filter_option_all_sessions"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<TextView
|
<RadioButton
|
||||||
android:id="@+id/filterOptionVerifiedTextView"
|
android:id="@+id/filterOptionVerifiedRadioButton"
|
||||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end"
|
android:layout_gravity="start"
|
||||||
android:text="@string/device_manager_filter_option_verified_description" />
|
android:layout_marginTop="24dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
|
android:minHeight="0dp"
|
||||||
|
android:text="@string/device_manager_filter_option_verified"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<RadioButton
|
<TextView
|
||||||
android:id="@+id/filterOptionUnverifiedRadioButton"
|
android:id="@+id/filterOptionVerifiedTextView"
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:text="@string/device_manager_filter_option_verified_description" />
|
||||||
android:minHeight="0dp"
|
|
||||||
android:text="@string/device_manager_filter_option_unverified" />
|
|
||||||
|
|
||||||
<TextView
|
<RadioButton
|
||||||
android:id="@+id/filterOptionUnverifiedTextView"
|
android:id="@+id/filterOptionUnverifiedRadioButton"
|
||||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end"
|
android:layout_gravity="start"
|
||||||
android:text="@string/device_manager_filter_option_unverified_description" />
|
android:layout_marginTop="16dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
|
android:minHeight="0dp"
|
||||||
|
android:text="@string/device_manager_filter_option_unverified"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
<RadioButton
|
<TextView
|
||||||
android:id="@+id/filterOptionInactiveRadioButton"
|
android:id="@+id/filterOptionUnverifiedTextView"
|
||||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:text="@string/device_manager_filter_option_unverified_description" />
|
||||||
android:minHeight="0dp"
|
|
||||||
android:text="@string/device_manager_filter_option_inactive" />
|
|
||||||
|
|
||||||
<TextView
|
<RadioButton
|
||||||
android:id="@+id/filterOptionInactiveTextView"
|
android:id="@+id/filterOptionInactiveRadioButton"
|
||||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end" />
|
android:layout_gravity="start"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:button="@null"
|
||||||
|
android:drawableEnd="?android:attr/listChoiceIndicatorSingle"
|
||||||
|
android:minHeight="0dp"
|
||||||
|
android:text="@string/device_manager_filter_option_inactive"
|
||||||
|
android:textAlignment="textStart" />
|
||||||
|
|
||||||
</RadioGroup>
|
<TextView
|
||||||
|
android:id="@+id/filterOptionInactiveTextView"
|
||||||
|
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
|
</RadioGroup>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in New Issue