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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingHorizontal="24dp"
|
||||
android:paddingBottom="32dp">
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:layout_width="36dp"
|
||||
|
@ -18,75 +16,102 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:paddingHorizontal="24dp"
|
||||
android:text="@string/device_manager_filter_bottom_sheet_title" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/filterOptionsRadioGroup"
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layoutDirection="rtl"
|
||||
android:showDividers="none">
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:paddingHorizontal="24dp"
|
||||
android:paddingBottom="32dp"
|
||||
android:scrollbarStyle="outsideOverlay">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionAllSessionsRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
<RadioGroup
|
||||
android:id="@+id/filterOptionsRadioGroup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="true"
|
||||
android:minHeight="0dp"
|
||||
android:text="@string/device_manager_filter_option_all_sessions" />
|
||||
android:paddingTop="24dp"
|
||||
android:showDividers="none">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionVerifiedRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
android:minHeight="0dp"
|
||||
android:text="@string/device_manager_filter_option_verified" />
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionAllSessionsRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
android:background="?android:selectableItemBackground"
|
||||
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
|
||||
android:id="@+id/filterOptionVerifiedTextView"
|
||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:text="@string/device_manager_filter_option_verified_description" />
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionVerifiedRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
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
|
||||
android:id="@+id/filterOptionUnverifiedRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:minHeight="0dp"
|
||||
android:text="@string/device_manager_filter_option_unverified" />
|
||||
<TextView
|
||||
android:id="@+id/filterOptionVerifiedTextView"
|
||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/device_manager_filter_option_verified_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/filterOptionUnverifiedTextView"
|
||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:text="@string/device_manager_filter_option_unverified_description" />
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionUnverifiedRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
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_unverified"
|
||||
android:textAlignment="textStart" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionInactiveRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:minHeight="0dp"
|
||||
android:text="@string/device_manager_filter_option_inactive" />
|
||||
<TextView
|
||||
android:id="@+id/filterOptionUnverifiedTextView"
|
||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/device_manager_filter_option_unverified_description" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/filterOptionInactiveTextView"
|
||||
style="@style/TextAppearance.Vector.Body.DevicesManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end" />
|
||||
<RadioButton
|
||||
android:id="@+id/filterOptionInactiveRadioButton"
|
||||
style="@style/TextAppearance.Vector.Subtitle.Medium.DevicesManagement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
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>
|
||||
|
|
Loading…
Reference in New Issue