style: use colorAccent

Use colorAccent instead of colorPrimary and colorSecondary.
This commit is contained in:
OxygenCobalt
2021-08-06 17:47:11 -06:00
parent 1d828c7b0a
commit a566a30c15
62 changed files with 223 additions and 280 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:boxBackgroundMode="filled"
app:boxStrokeColor="?attr/colorPrimary"
app:boxStrokeColor="?attr/colorAccent"
app:boxStrokeWidth="0dp"
app:boxStrokeWidthFocused="2dp"
app:endIconContentDescription="@string/desc_clear_search"
+1 -1
View File
@@ -17,7 +17,7 @@
android:padding="@dimen/spacing_medium"
android:scaleType="fitCenter"
android:src="@drawable/ic_check"
tools:backgroundTint="?attr/colorPrimary"
tools:backgroundTint="?attr/colorAccent"
tools:ignore="contentDescription" />
</FrameLayout>
@@ -93,7 +93,7 @@
style="@style/Widget.Button.Vibrant.Primary"
android:layout_marginStart="@dimen/spacing_small"
android:layout_marginEnd="@dimen/spacing_medium"
android:backgroundTint="?attr/colorPrimary"
android:backgroundTint="?attr/colorAccent"
android:onClick="@{() -> playbackModel.playAlbum(album, true)}"
android:text="@string/lbl_shuffle"
app:layout_constraintBottom_toBottomOf="@+id/album_play_button"
@@ -88,7 +88,7 @@
style="@style/Widget.Button.Vibrant.Primary"
android:layout_marginStart="@dimen/spacing_small"
android:layout_marginEnd="@dimen/spacing_medium"
android:backgroundTint="?attr/colorPrimary"
android:backgroundTint="?attr/colorAccent"
android:onClick="@{() -> playbackModel.playArtist(artist, true)}"
android:text="@string/lbl_shuffle"
app:layout_constraintBottom_toBottomOf="@+id/artist_play_button"
@@ -91,7 +91,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/genre_shuffle_button"
style="@style/Widget.Button.Vibrant.Primary"
android:backgroundTint="?attr/colorPrimary"
android:backgroundTint="?attr/colorAccent"
android:onClick="@{() -> playbackModel.playGenre(genre, true)}"
android:text="@string/lbl_shuffle"
app:layout_constraintBottom_toBottomOf="@+id/genre_play_button"
+1 -1
View File
@@ -13,7 +13,7 @@
android:layout_width="@dimen/size_scroll_thumb"
android:layout_height="@dimen/size_scroll_thumb"
android:background="@drawable/ui_circle"
android:backgroundTint="?attr/colorPrimary"
android:backgroundTint="?attr/colorAccent"
android:elevation="@dimen/elevation_small"
android:stateListAnimator="@animator/animator_thumb"
app:layout_constraintEnd_toStartOf="@+id/scroll_indicator_text">