Add genre support to search
Add the ability for genres to show up in search, as long as the library is currently displaying them.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
android:tint="@color/control_color">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" />
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
android:tint="@color/control_color">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z" />
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
android:tint="@color/control_color">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M3,18h6v-2L3,16v2zM3,6v2h18L21,6L3,6zM3,13h12v-2L3,11v2z" />
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<color name="divider_color">#323232</color>
|
||||
<color name="selection_color">#484848</color>
|
||||
<color name="inactive_color">#404040</color>
|
||||
<color name="control_color">#ffffff</color>
|
||||
|
||||
<!--
|
||||
Base color set derived from Music Player GO.
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<color name="divider_color">#cbcbcb</color>
|
||||
<color name="selection_color">#cbcbcb</color>
|
||||
<color name="inactive_color">#c4c4c4</color>
|
||||
<color name="control_color">#202020</color>
|
||||
|
||||
<!--
|
||||
Base color set derived from Music Player GO.
|
||||
|
||||
@@ -43,12 +43,11 @@
|
||||
<string name="placeholder_album">Unknown Album</string>
|
||||
<string name="placeholder_no_date">No Date</string>
|
||||
|
||||
<!-- Format Namespace | Value formatting -->
|
||||
<!-- Format Namespace | Value formatting/plurals -->
|
||||
<string name="format_info">%1$s / %2$s</string>
|
||||
<string name="format_double_info">%1$s / %2$s / %3$s</string>
|
||||
<string name="format_double_counts">%1$s, %2$s</string>
|
||||
|
||||
<!-- Format Namespace | Value formatting with plurals -->
|
||||
<plurals name="format_song_count">
|
||||
<item quantity="one">%s Song</item>
|
||||
<item quantity="other">%s Songs</item>
|
||||
|
||||
@@ -18,10 +18,7 @@
|
||||
<item name="android:textColor">?android:attr/colorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="Toolbar.SearchViewStyle" parent="Widget.AppCompat.SearchView">
|
||||
<item name="android:searchIcon">@drawable/ic_search</item>
|
||||
<item name="android:closeIcon">@drawable/ic_back</item>
|
||||
</style>
|
||||
<style name="Toolbar.SearchViewStyle" parent="Widget.AppCompat.SearchView"/>
|
||||
|
||||
<style name="DetailHeader">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
|
||||
|
||||
@@ -38,25 +38,21 @@
|
||||
<item name="colorSecondary">@color/light_blue</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.Cyan" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/cyan</item>
|
||||
<item name="colorSecondary">@color/cyan</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.Teal" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/teal</item>
|
||||
<item name="colorSecondary">@color/teal</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.Green" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/green</item>
|
||||
<item name="colorSecondary">@color/green</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.LightGreen" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/light_green</item>
|
||||
<item name="colorSecondary">@color/light_green</item>
|
||||
|
||||
Reference in New Issue
Block a user