Fixed two item was inaccessable with bottom sheet in landscape mode. (#4187)

scrollview is added so that last options are scrollable.
This commit is contained in:
Pratham Pahariya 2021-03-01 19:11:09 +05:30 committed by GitHub
parent 93cd89a34b
commit e5c89c0b8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 150 additions and 120 deletions

View file

@ -3,6 +3,16 @@
android:layout_height="wrap_content"
android:layout_marginTop="?attr/actionBarSize"
android:theme="?attr/more_bottom_sheet_style"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
@ -81,4 +91,9 @@
android:padding="8dp"
android:text="@string/navigation_item_logout"
android:textSize="18sp" />
</LinearLayout>
</ScrollView>
</LinearLayout>

View file

@ -5,6 +5,16 @@
android:theme="?attr/more_bottom_sheet_style"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/more_settings"
android:layout_width="match_parent"
@ -59,4 +69,9 @@
android:padding="8dp"
android:text="@string/navigation_item_login"
android:textSize="18sp" />
</LinearLayout>
</ScrollView>
</LinearLayout>