Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
I've tried various ways of structuring the screen with different layouts, but the result is, at best, as shown in the screenshot. There are no issues if the dialog is open to the full height of the screen.
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="
xmlns:app="
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">
<TextView
android:id="@+id/toolBar"
android:layout_width="match_parent"
android:layout_height="70dp"
android:gravity="center"
android:text="AppBarLayout" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/accent_red"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView1" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView3" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView4" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView6" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="innerTextView1" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<Button
android:id="@+id/bottomPanel"
android:layout_width="match_parent"
android:layout_height="70dp"
android:backgroundTint="@color/primary_500"
android:text="Button" />
</LinearLayout>
</layout>