Add buttons to open next/previous chapter in the reader. Try entire app with hardware acceleration
@@ -4,5 +4,6 @@
|
||||
android:fromAlpha="0.0"
|
||||
android:toAlpha="1.0"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:duration="300" />
|
||||
android:duration="300"
|
||||
android:fillAfter="true"/>
|
||||
</set>
|
||||
BIN
app/src/main/res/drawable-hdpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
app/src/main/res/drawable-hdpi/ic_skip_previous_white_24dp.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
app/src/main/res/drawable-ldpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 179 B |
BIN
app/src/main/res/drawable-ldpi/ic_skip_previous_white_24dp.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
app/src/main/res/drawable-mdpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
app/src/main/res/drawable-mdpi/ic_skip_previous_white_24dp.png
Normal file
|
After Width: | Height: | Size: 152 B |
BIN
app/src/main/res/drawable-xhdpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
app/src/main/res/drawable-xhdpi/ic_skip_previous_white_24dp.png
Normal file
|
After Width: | Height: | Size: 257 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 309 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_skip_previous_white_24dp.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_skip_next_white_24dp.png
Normal file
|
After Width: | Height: | Size: 391 B |
|
After Width: | Height: | Size: 423 B |
19
app/src/main/res/menu/reader.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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:id="@+id/action_previous_chapter"
|
||||
android:title="@string/action_previous_chapter"
|
||||
android:icon="@drawable/ic_skip_previous_white_24dp"
|
||||
android:visible="false"
|
||||
app:showAsAction="always" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_next_chapter"
|
||||
android:title="@string/action_next_chapter"
|
||||
android:icon="@drawable/ic_skip_next_white_24dp"
|
||||
android:visible="false"
|
||||
app:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
@@ -34,6 +34,9 @@
|
||||
<string name="action_next_unread">Next unread</string>
|
||||
<string name="action_start">Start</string>
|
||||
<string name="action_stop">Stop</string>
|
||||
<string name="action_previous_chapter">Previous chapter</string>
|
||||
<string name="action_next_chapter">Next chapter</string>
|
||||
|
||||
|
||||
<!-- Buttons -->
|
||||
<string name="button_ok">OK</string>
|
||||
|
||||