mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 06:38:31 +00:00
Updated dialog base to handle large content
This commit is contained in:
parent
afc3fb10c7
commit
fb2c292f35
@ -92,6 +92,8 @@
|
|||||||
android:id="@+id/dialog_base_scroll"
|
android:id="@+id/dialog_base_scroll"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
app:layout_constrainedHeight="true"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/dialog_base_space"
|
||||||
app:layout_constraintLeft_toLeftOf="@+id/dialog_base_start"
|
app:layout_constraintLeft_toLeftOf="@+id/dialog_base_start"
|
||||||
app:layout_constraintRight_toRightOf="@+id/dialog_base_end"
|
app:layout_constraintRight_toRightOf="@+id/dialog_base_end"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/dialog_base_title">
|
app:layout_constraintTop_toBottomOf="@+id/dialog_base_title">
|
||||||
@ -128,15 +130,16 @@
|
|||||||
android:layout_height="@dimen/l1"
|
android:layout_height="@dimen/l1"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/dialog_base_scroll" />
|
app:layout_constraintBottom_toTopOf="@+id/dialog_base_buttons" />
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
|
android:id="@+id/dialog_base_buttons"
|
||||||
style="?attr/buttonBarStyle"
|
style="?attr/buttonBarStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fillViewport="true"
|
android:fillViewport="true"
|
||||||
android:scrollbarAlwaysDrawVerticalTrack="true"
|
android:scrollbarAlwaysDrawVerticalTrack="true"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/dialog_base_space">
|
app:layout_constraintBottom_toBottomOf="parent">
|
||||||
|
|
||||||
<com.android.internal.widget.ButtonBarLayout
|
<com.android.internal.widget.ButtonBarLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user