ui: use grade instead of indicator

Finally unify all icon activation states under the new grade modifier
in Material Symbols.

This provides similar clarify to the dot/greyed state, but without
inconsistent meanings. The shuffle icon did have to be bolded a little
more though, as the grade did not seem to do much.
This commit is contained in:
OxygenCobalt
2022-07-03 15:29:42 -06:00
parent 4f8fc8008c
commit b3cac19ee4
29 changed files with 90 additions and 181 deletions
+1 -1
View File
@@ -111,7 +111,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_medium"
android:contentDescription="@string/desc_shuffle_all"
android:src="@drawable/ic_shuffle_24" />
android:src="@drawable/ic_shuffle_off_24" />
</org.oxycblt.auxio.home.EdgeFabContainer>
@@ -84,19 +84,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.oxycblt.auxio.playback.IndicatorMaterialButton
<com.google.android.material.button.MaterialButton
android:id="@+id/playback_repeat"
style="@style/Widget.Auxio.Button.Icon.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/desc_change_repeat"
app:icon="@drawable/ic_repeat_24"
app:icon="@drawable/ic_repeat_off_24"
app:iconTint="@color/sel_accented"
app:layout_constraintBottom_toBottomOf="@+id/playback_skip_prev"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/playback_skip_prev" />
<Button
<com.google.android.material.button.MaterialButton
android:id="@+id/playback_skip_prev"
style="@style/Widget.Auxio.Button.Icon.Large"
android:layout_width="wrap_content"
@@ -121,7 +121,7 @@
app:layout_constraintTop_toTopOf="parent"
tools:src="@drawable/ic_play_24" />
<Button
<com.google.android.material.button.MaterialButton
android:id="@+id/playback_skip_next"
style="@style/Widget.Auxio.Button.Icon.Large"
android:layout_width="wrap_content"
@@ -133,13 +133,13 @@
app:layout_constraintStart_toEndOf="@+id/playback_play_pause"
app:layout_constraintTop_toTopOf="@+id/playback_play_pause" />
<org.oxycblt.auxio.playback.IndicatorMaterialButton
<com.google.android.material.button.MaterialButton
android:id="@+id/playback_shuffle"
style="@style/Widget.Auxio.Button.Icon.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/desc_shuffle"
app:icon="@drawable/ic_shuffle_24"
app:icon="@drawable/sel_shuffle_state_24"
app:iconTint="@color/sel_accented"
app:layout_constraintBottom_toBottomOf="@+id/playback_skip_next"
app:layout_constraintEnd_toEndOf="parent"
+2 -2
View File
@@ -85,7 +85,7 @@
android:layout_width="@dimen/size_btn"
android:layout_height="@dimen/size_btn"
android:contentDescription="@string/desc_change_repeat"
android:src="@drawable/ic_remote_repeat_off_24" />
android:src="@drawable/ic_repeat_off_24" />
<android.widget.ImageView
android:layout_width="0dp"
@@ -139,7 +139,7 @@
android:layout_width="@dimen/size_btn"
android:layout_height="@dimen/size_btn"
android:contentDescription="@string/desc_shuffle"
android:src="@drawable/ic_remote_shuffle_off_24" />
android:src="@drawable/ic_shuffle_off_24" />
</android.widget.LinearLayout>
+2 -2
View File
@@ -59,7 +59,7 @@
android:layout_width="@dimen/size_btn"
android:layout_height="@dimen/size_btn"
android:contentDescription="@string/desc_change_repeat"
android:src="@drawable/ic_remote_repeat_off_24" />
android:src="@drawable/ic_repeat_off_24" />
<android.widget.ImageView
android:layout_width="0dp"
@@ -112,7 +112,7 @@
android:layout_width="@dimen/size_btn"
android:layout_height="@dimen/size_btn"
android:contentDescription="@string/desc_shuffle"
android:src="@drawable/ic_remote_shuffle_off_24" />
android:src="@drawable/ic_shuffle_off_24" />
</android.widget.LinearLayout>
</android.widget.RelativeLayout>