Move accent dialog to object

Move the dialog created in showAccentDialog to a dedicated object.
This commit is contained in:
OxygenCobalt
2021-03-09 08:01:49 -07:00
parent f5f67a0b76
commit 5d72bfa09b
6 changed files with 74 additions and 58 deletions
@@ -14,6 +14,7 @@
android:layout_height="match_parent"
android:animateLayoutChanges="true"
android:gravity="center"
android:padding="@dimen/padding_small"
android:orientation="vertical">
<ProgressBar
+1 -1
View File
@@ -17,7 +17,7 @@
android:icon="@drawable/ic_accent"
android:title="@string/setting_accent"
app:allowDividerBelow="false"
app:key="KEY_ACCENT"
app:key="KEY_ACCENT2"
app:summary="@string/setting_accent_unknown" />
</PreferenceCategory>