style: use colorAccent
Use colorAccent instead of colorPrimary and colorSecondary.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user