Fix screen rotation issue in permission activity layout
This commit is contained in:
parent
17237a4021
commit
f15605a261
1 changed files with 42 additions and 24 deletions
|
@ -29,9 +29,23 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/appNameText" />
|
app:layout_constraintTop_toBottomOf="@id/appNameText" />
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
app:layout_constraintBottom_toTopOf="@+id/finish"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
android:fillViewport="true"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/divider">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<code.name.monkey.retromusic.views.PermissionItem
|
<code.name.monkey.retromusic.views.PermissionItem
|
||||||
android:id="@+id/storagePermission"
|
android:id="@+id/storagePermission"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -44,7 +58,7 @@
|
||||||
|
|
||||||
<code.name.monkey.retromusic.views.PermissionItem
|
<code.name.monkey.retromusic.views.PermissionItem
|
||||||
android:id="@+id/audioPermission"
|
android:id="@+id/audioPermission"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -56,6 +70,10 @@
|
||||||
app:permissionTitleNumber="2"
|
app:permissionTitleNumber="2"
|
||||||
app:permissionTitleSubTitle="@string/ringtone_summary"
|
app:permissionTitleSubTitle="@string/ringtone_summary"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/finish"
|
android:id="@+id/finish"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue