Allow to start/stop queue from download queue fragment. DownloadQueue now extends from ArrayList.
BIN
app/src/main/res/drawable-hdpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
app/src/main/res/drawable-hdpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 99 B |
BIN
app/src/main/res/drawable-ldpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
app/src/main/res/drawable-ldpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
app/src/main/res/drawable-mdpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
app/src/main/res/drawable-mdpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
app/src/main/res/drawable-xhdpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
app/src/main/res/drawable-xhdpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 316 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 131 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 394 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_stop.png
Normal file
|
After Width: | Height: | Size: 164 B |
17
app/src/main/res/menu/download_queue.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:title="@string/action_start"
|
||||
android:id="@+id/start_queue"
|
||||
android:icon="@drawable/ic_play_arrow"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:title="@string/action_stop"
|
||||
android:id="@+id/stop_queue"
|
||||
android:icon="@drawable/ic_stop"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
</menu>
|
||||
@@ -24,6 +24,8 @@
|
||||
<string name="action_show_unread">Unread</string>
|
||||
<string name="action_show_downloaded">Downloaded</string>
|
||||
<string name="action_next_unread">Next unread</string>
|
||||
<string name="action_start">Start</string>
|
||||
<string name="action_stop">Stop</string>
|
||||
|
||||
<!-- Buttons -->
|
||||
<string name="button_ok">OK</string>
|
||||
|
||||