mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
Minor changes
This commit is contained in:
parent
b170520370
commit
7e79a377cc
6 changed files with 7 additions and 12 deletions
|
@ -113,9 +113,6 @@ dependencies {
|
||||||
compile 'eu.davidea:flexible-adapter:4.2.0@aar'
|
compile 'eu.davidea:flexible-adapter:4.2.0@aar'
|
||||||
compile 'com.nononsenseapps:filepicker:2.5.0'
|
compile 'com.nononsenseapps:filepicker:2.5.0'
|
||||||
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
||||||
compile 'rapid.decoder:library:0.3.0'
|
|
||||||
compile 'rapid.decoder:jpeg-decoder:0.3.0'
|
|
||||||
compile 'rapid.decoder:png-decoder:0.3.0'
|
|
||||||
|
|
||||||
compile "com.google.dagger:dagger:$DAGGER_VERSION"
|
compile "com.google.dagger:dagger:$DAGGER_VERSION"
|
||||||
apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
|
apt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
|
||||||
|
|
|
@ -3,6 +3,7 @@ package eu.kanade.mangafeed.ui.reader.viewer.base;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.davemorrissey.labs.subscaleview.decoder.ImageRegionDecoder;
|
import com.davemorrissey.labs.subscaleview.decoder.ImageRegionDecoder;
|
||||||
|
import com.davemorrissey.labs.subscaleview.decoder.RapidImageRegionDecoder;
|
||||||
import com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder;
|
import com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -10,7 +11,6 @@ import java.util.List;
|
||||||
import eu.kanade.mangafeed.data.source.model.Page;
|
import eu.kanade.mangafeed.data.source.model.Page;
|
||||||
import eu.kanade.mangafeed.ui.base.fragment.BaseFragment;
|
import eu.kanade.mangafeed.ui.base.fragment.BaseFragment;
|
||||||
import eu.kanade.mangafeed.ui.reader.ReaderActivity;
|
import eu.kanade.mangafeed.ui.reader.ReaderActivity;
|
||||||
import eu.kanade.mangafeed.ui.reader.decoder.RapidImageRegionDecoder;
|
|
||||||
|
|
||||||
public abstract class BaseReader extends BaseFragment {
|
public abstract class BaseReader extends BaseFragment {
|
||||||
|
|
||||||
|
|
|
@ -59,12 +59,12 @@
|
||||||
<string name="pref_category_about">About</string>
|
<string name="pref_category_about">About</string>
|
||||||
|
|
||||||
<!-- General section -->
|
<!-- General section -->
|
||||||
<string name="pref_library_columns">Library mangas per row</string>
|
<string name="pref_library_columns">Library manga per row</string>
|
||||||
<string name="portrait">Portrait</string>
|
<string name="portrait">Portrait</string>
|
||||||
<string name="landscape">Landscape</string>
|
<string name="landscape">Landscape</string>
|
||||||
<string name="default_columns">Default</string>
|
<string name="default_columns">Default</string>
|
||||||
<string name="pref_library_update_interval">Library update period</string>
|
<string name="pref_library_update_interval">Library update period</string>
|
||||||
<string name="pref_update_only_non_completed">Update only non completed mangas</string>
|
<string name="pref_update_only_non_completed">Update only non completed manga</string>
|
||||||
<string name="update_never">Manual</string>
|
<string name="update_never">Manual</string>
|
||||||
<string name="update_1hour">Hourly</string>
|
<string name="update_1hour">Hourly</string>
|
||||||
<string name="update_2hour">Every 2 hours</string>
|
<string name="update_2hour">Every 2 hours</string>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
<item name="alertDialogTheme">@style/AlertDialogStyle</item>
|
<item name="alertDialogTheme">@style/AlertDialogStyle</item>
|
||||||
<item name="android:itemTextAppearance">@style/OptionsMenuTextColor</item>
|
|
||||||
<item name="android:textColor">@color/primary_text</item>
|
<item name="android:textColor">@color/primary_text</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -32,10 +31,6 @@
|
||||||
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="OptionsMenuTextColor" parent="@android:style/TextAppearance.Widget.IconMenu.Item">
|
|
||||||
<item name="android:textColor">@android:color/black</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="ActionBarSpinner" parent="@style/Widget.AppCompat.TextView.SpinnerItem">
|
<style name="ActionBarSpinner" parent="@style/Widget.AppCompat.TextView.SpinnerItem">
|
||||||
<item name="android:textColor">@color/white</item>
|
<item name="android:textColor">@color/white</item>
|
||||||
<item name="android:textColorHint">@color/hint_foreground_material_dark</item>
|
<item name="android:textColorHint">@color/hint_foreground_material_dark</item>
|
||||||
|
|
|
@ -6,6 +6,9 @@ version = '3.4.1'
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: '*.jar')
|
compile fileTree(dir: 'libs', include: '*.jar')
|
||||||
compile "com.android.support:support-annotations:23.1.1"
|
compile "com.android.support:support-annotations:23.1.1"
|
||||||
|
compile 'rapid.decoder:library:0.3.0'
|
||||||
|
compile 'rapid.decoder:jpeg-decoder:0.3.0'
|
||||||
|
compile 'rapid.decoder:png-decoder:0.3.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.kanade.mangafeed.ui.reader.decoder;
|
package com.davemorrissey.labs.subscaleview.decoder;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
Loading…
Reference in a new issue