-Added dropdown menu for background player activity.
-Added icons for shuffle and drag handle. -Fixed exception when returning to background player activity after service shuts down. -Fixed open detail only working for Youtube.
BIN
app/src/main/res/drawable-hdpi/ic_reorder_black_24dp.png
Normal file
|
After Width: | Height: | Size: 107 B |
BIN
app/src/main/res/drawable-hdpi/ic_reorder_white_24dp.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
app/src/main/res/drawable-hdpi/ic_shuffle_white_24dp.png
Normal file
|
After Width: | Height: | Size: 300 B |
BIN
app/src/main/res/drawable-mdpi/ic_reorder_black_24dp.png
Normal file
|
After Width: | Height: | Size: 82 B |
BIN
app/src/main/res/drawable-mdpi/ic_reorder_white_24dp.png
Normal file
|
After Width: | Height: | Size: 84 B |
BIN
app/src/main/res/drawable-mdpi/ic_shuffle_white_24dp.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
app/src/main/res/drawable-xhdpi/ic_reorder_black_24dp.png
Normal file
|
After Width: | Height: | Size: 101 B |
BIN
app/src/main/res/drawable-xhdpi/ic_reorder_white_24dp.png
Normal file
|
After Width: | Height: | Size: 93 B |
BIN
app/src/main/res/drawable-xhdpi/ic_shuffle_white_24dp.png
Normal file
|
After Width: | Height: | Size: 310 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_reorder_black_24dp.png
Normal file
|
After Width: | Height: | Size: 113 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_reorder_white_24dp.png
Normal file
|
After Width: | Height: | Size: 96 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_shuffle_white_24dp.png
Normal file
|
After Width: | Height: | Size: 486 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_reorder_black_24dp.png
Normal file
|
After Width: | Height: | Size: 116 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_reorder_white_24dp.png
Normal file
|
After Width: | Height: | Size: 99 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_shuffle_white_24dp.png
Normal file
|
After Width: | Height: | Size: 517 B |
|
|
@ -209,7 +209,7 @@
|
|||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_palette_white_24dp"
|
||||
android:src="@drawable/ic_shuffle_white_24dp"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
|
|
@ -29,8 +29,10 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:scaleType="center"
|
||||
android:src="?attr/filter"
|
||||
android:src="?attr/reorder"
|
||||
tools:ignore="ContentDescription,RtlHardcoded"/>
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
20
app/src/main/res/menu/menu_play_queue.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.schabi.newpipe.history.HistoryActivity">
|
||||
|
||||
<item android:id="@+id/action_history"
|
||||
android:orderInCategory="981"
|
||||
android:title="@string/action_history"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item android:id="@+id/action_settings"
|
||||
android:orderInCategory="990"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item android:id="@+id/action_system_audio"
|
||||
android:orderInCategory="996"
|
||||
android:title="@string/play_queue_audio_settings"
|
||||
app:showAsAction="never"/>
|
||||
</menu>
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
<attr name="palette" format="reference"/>
|
||||
<attr name="language" format="reference"/>
|
||||
<attr name="history" format="reference"/>
|
||||
<attr name="reorder" format="reference"/>
|
||||
|
||||
<!-- Can't refer to colors directly into drawable's xml-->
|
||||
<attr name="toolbar_shadow_drawable" format="reference"/>
|
||||
|
|
|
|||
|
|
@ -293,6 +293,10 @@
|
|||
<string name="new_and_hot">New & hot</string>
|
||||
<string name="service_kiosk_string" translatable="false">%1$s/%2$s</string>
|
||||
|
||||
<!-- Player -->
|
||||
<!-- Play Queue -->
|
||||
<string name="title_activity_background_player">Background Player</string>
|
||||
<string name="play_queue_remove">Remove</string>
|
||||
<string name="play_queue_stream_detail">Details</string>
|
||||
<string name="play_queue_audio_settings">Audio Settings</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
<item name="palette">@drawable/ic_palette_black_24dp</item>
|
||||
<item name="language">@drawable/ic_language_black_24dp</item>
|
||||
<item name="history">@drawable/ic_history_black_24dp</item>
|
||||
<item name="reorder">@drawable/ic_reorder_black_24dp</item>
|
||||
|
||||
<item name="selector_color">@color/light_selector</item>
|
||||
<item name="separator_color">@color/light_separator_color</item>
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
<item name="palette">@drawable/ic_palette_white_24dp</item>
|
||||
<item name="language">@drawable/ic_language_white_24dp</item>
|
||||
<item name="history">@drawable/ic_history_white_24dp</item>
|
||||
<item name="reorder">@drawable/ic_reorder_white_24dp</item>
|
||||
|
||||
<item name="selector_color">@color/dark_selector</item>
|
||||
<item name="separator_color">@color/dark_separator_color</item>
|
||||
|
|
|
|||