Minor changes

Change some minor things across the app.
This commit is contained in:
OxygenCobalt
2020-11-24 15:39:40 -07:00
parent 034f073bac
commit 6ce8c854a9
27 changed files with 112 additions and 104 deletions
@@ -1,3 +1,7 @@
<?xml version="1.0" encoding="utf-8"?><!--
Animated icons derived from noice
https://github.com/ashutoshgngwr/noice/
-->
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:drawable="@drawable/ic_pause_large">
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:width="32dp"
android:height="32dp"
android:tint="@color/control_color"
@@ -1,3 +1,7 @@
<?xml version="1.0" encoding="utf-8"?><!--
Animated icons derived from noice
https://github.com/ashutoshgngwr/noice/
-->
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:drawable="@drawable/ic_play_large">
@@ -9,7 +9,7 @@ https://stackoverflow.com/a/61157571/14143986
android:top="-2dp">
<shape android:shape="rectangle">
<stroke
android:width="0.5dp"
android:width="1dp"
android:color="@color/divider_color" />
</shape>
</item>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/selection_color"
android:radius="@dimen/size_divider_ripple" />
@@ -111,23 +111,23 @@
android:id="@+id/album_song_header"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/padding_medium"
android:layout_marginTop="@dimen/margin_medium"
android:background="@drawable/ui_header_dividers"
android:textColor="?android:attr/textColorPrimary"
android:fontFamily="@font/inter_semibold"
android:paddingStart="@dimen/padding_medium"
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/padding_small"
android:paddingBottom="@dimen/padding_small"
android:text="@string/label_songs"
android:textColor="?android:attr/textColorPrimary"
android:textSize="19sp"
app:layout_constraintTop_toBottomOf="@+id/album_details" />
app:layout_constraintTop_toBottomOf="@+id/album_details"
app:layout_constraintStart_toStartOf="parent" />
<ImageButton
android:id="@+id/album_sort_button"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginTop="@dimen/margin_medium"
android:background="@drawable/ui_header_dividers"
android:contentDescription="@string/description_sort_button"
android:onClick="@{() -> detailModel.incrementAlbumSortMode()}"
@@ -135,9 +135,9 @@
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/margin_medium"
android:paddingBottom="@dimen/padding_small"
app:layout_constraintBottom_toTopOf="@+id/album_song_recycler"
app:layout_constraintBottom_toBottomOf="@+id/album_song_header"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/album_details"
app:layout_constraintTop_toTopOf="@+id/album_song_header"
tools:src="@drawable/ic_sort_numeric_down" />
<androidx.recyclerview.widget.RecyclerView
@@ -104,15 +104,15 @@
android:id="@+id/artist_album_header"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/padding_medium"
android:layout_marginTop="@dimen/margin_medium"
android:background="@drawable/ui_header_dividers"
android:textColor="?android:attr/textColorPrimary"
android:fontFamily="@font/inter_semibold"
android:paddingStart="@dimen/padding_medium"
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/padding_small"
android:paddingBottom="@dimen/padding_small"
android:text="@string/label_albums"
android:textColor="?android:attr/textColorPrimary"
android:textSize="19sp"
app:layout_constraintTop_toBottomOf="@+id/artist_counts" />
@@ -120,7 +120,6 @@
android:id="@+id/artist_sort_button"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginTop="@dimen/margin_medium"
android:background="@drawable/ui_header_dividers"
android:contentDescription="@string/description_sort_button"
android:onClick="@{() -> detailModel.incrementArtistSortMode()}"
@@ -128,9 +127,9 @@
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/margin_medium"
android:paddingBottom="@dimen/padding_small"
app:layout_constraintBottom_toTopOf="@+id/artist_album_recycler"
app:layout_constraintBottom_toBottomOf="@+id/artist_album_header"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/artist_counts"
app:layout_constraintTop_toTopOf="@+id/artist_album_header"
tools:src="@drawable/ic_sort_numeric_down" />
<androidx.recyclerview.widget.RecyclerView
@@ -121,18 +121,17 @@
android:id="@+id/genre_sort_button"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginTop="@dimen/margin_medium"
android:background="@drawable/ui_header_dividers"
android:contentDescription="@string/description_sort_button"
android:onClick="@{() -> detailModel.incrementGenreSortMode()}"
android:paddingStart="@dimen/padding_medium"
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/margin_medium"
android:paddingBottom="@dimen/padding_small"
android:onClick="@{() -> detailModel.incrementGenreSortMode()}"
tools:src="@drawable/ic_sort_alpha_down"
app:layout_constraintBottom_toTopOf="@+id/genre_artist_recycler"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/genre_song_count" />
app:layout_constraintBottom_toBottomOf="@+id/genre_artist_header"
app:layout_constraintTop_toTopOf="@+id/genre_artist_header"
tools:layout_editor_absoluteX="355dp"
tools:src="@drawable/ic_sort_alpha_down" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/genre_artist_recycler"
+18 -17
View File
@@ -13,37 +13,38 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:background="@drawable/ui_header_dividers">
<TextView
android:id="@+id/header_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/header_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/padding_medium"
android:fontFamily="@font/inter_semibold"
android:paddingStart="@dimen/padding_medium"
android:paddingTop="@dimen/padding_small"
android:paddingEnd="@dimen/padding_small"
android:paddingBottom="@dimen/padding_small"
android:text="@{header.name}"
tools:text="Songs"
android:textColor="?android:attr/textColorPrimary"
android:textSize="19sp"
app:layout_constraintEnd_toStartOf="@+id/header_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:background="@drawable/ui_header_dividers"
tools:text="Songs" />
app:layout_constraintStart_toStartOf="parent" />
<ImageButton
android:id="@+id/header_button"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:background="@drawable/ui_header_dividers"
android:tint="?android:attr/colorPrimary"
app:layout_constraintDimensionRatio="1:1"
android:contentDescription="@string/description_sort_button"
android:paddingStart="@dimen/padding_medium"
android:paddingTop="@dimen/padding_small"
android:background="@drawable/ui_small_unbounded_ripple"
android:paddingEnd="@dimen/margin_medium"
android:paddingBottom="@dimen/padding_small"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@drawable/ic_clear"
tools:ignore="ContentDescription" />
app:layout_constraintTop_toTopOf="@+id/header_title"
tools:src="@drawable/ic_sort_numeric_down" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
+1 -1
View File
@@ -25,7 +25,6 @@
<string name="label_queue_add">Add to queue</string>
<string name="label_queue_added">Added to queue</string>
<string name="label_next_user_queue">Next in Queue</string>
<string name="label_clear_user_queue">Clear queue</string>
<string name="label_channel">Music Playback</string>
<string name="label_service_playback">The music playback service for Auxio.</string>
@@ -50,6 +49,7 @@
<string name="description_sort_none">Default Sort Order</string>
<string name="description_sort_alpha_down">Sort from A to Z</string>
<string name="description_sort_alpha_up">Sort from Z to A</string>
<string name="description_clear_user_queue">Clear queue</string>
<string name="description_play">Play</string>
<string name="description_pause">Pause</string>
<string name="description_skip_next">Skip to next song</string>