Update accent dialog

Completely redo the accent dialog to remove its dependence on MaterialDialogs and also to make it more ergonomic.
This commit is contained in:
OxygenCobalt
2021-03-25 19:21:05 -06:00
parent 194bcfcd05
commit ac1e686704
13 changed files with 267 additions and 102 deletions
+4 -3
View File
@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".settings.ui.AccentAdapter.ViewHolder">
tools:context=".settings.pref.AccentAdapter.ViewHolder">
<FrameLayout
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_mid_small">
android:padding="@dimen/margin_small">
<ImageButton
android:id="@+id/accent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/ui_circle_ripple"
android:padding="@dimen/margin_medium"
android:scaleType="fitCenter"