diff --git a/TODO.library b/TODO.library index a6d48017d..ae4c1809a 100644 --- a/TODO.library +++ b/TODO.library @@ -4,6 +4,7 @@ DONE Reload book info from file * prevent from sleep if battery is in charging mode * Open the help file if the current book is deleted from library DONE don't run several initialization threads in the same time +* lib.ololo.cc After 0.99: * Partial loading from database diff --git a/assets/resources/application/cs.xml b/assets/resources/application/cs.xml index f83e3abdb..bd963caac 100644 --- a/assets/resources/application/cs.xml +++ b/assets/resources/application/cs.xml @@ -445,6 +445,10 @@ + + + + diff --git a/assets/resources/application/de.xml b/assets/resources/application/de.xml index ef78346c9..f8e1bab56 100644 --- a/assets/resources/application/de.xml +++ b/assets/resources/application/de.xml @@ -446,6 +446,10 @@ + + + + diff --git a/assets/resources/application/en.xml b/assets/resources/application/en.xml index cb9166d65..24723aa01 100644 --- a/assets/resources/application/en.xml +++ b/assets/resources/application/en.xml @@ -444,6 +444,10 @@ + + + + diff --git a/assets/resources/application/fr.xml b/assets/resources/application/fr.xml index 190d01fa4..3c12ea731 100644 --- a/assets/resources/application/fr.xml +++ b/assets/resources/application/fr.xml @@ -454,6 +454,10 @@ --> + + + + diff --git a/assets/resources/application/hu.xml b/assets/resources/application/hu.xml index 515030b6b..09eb4a092 100644 --- a/assets/resources/application/hu.xml +++ b/assets/resources/application/hu.xml @@ -32,7 +32,7 @@ - + @@ -162,7 +162,7 @@ - + @@ -274,13 +274,13 @@ - - - - + + + + - + @@ -307,7 +307,7 @@ - + @@ -331,7 +331,7 @@ - + @@ -392,10 +392,10 @@ - - - - + + + + @@ -406,12 +406,12 @@ - + - + @@ -440,37 +440,35 @@ - - - - - + + + + + + + + - + - + - - + + - + - + - + - + @@ -518,13 +516,13 @@ - + - + - + @@ -573,8 +571,8 @@ - - + + diff --git a/assets/resources/application/it.xml b/assets/resources/application/it.xml index eea396bda..37fdfda77 100644 --- a/assets/resources/application/it.xml +++ b/assets/resources/application/it.xml @@ -445,6 +445,10 @@ + + + + diff --git a/assets/resources/application/ru.xml b/assets/resources/application/ru.xml index 8eda827ef..c16a5b1af 100644 --- a/assets/resources/application/ru.xml +++ b/assets/resources/application/ru.xml @@ -444,6 +444,10 @@ + + + + @@ -471,8 +475,8 @@ - - + + diff --git a/assets/resources/application/uk.xml b/assets/resources/application/uk.xml index eed43ba82..8036024c5 100644 --- a/assets/resources/application/uk.xml +++ b/assets/resources/application/uk.xml @@ -445,6 +445,10 @@ + + + + diff --git a/assets/resources/application/vi.xml b/assets/resources/application/vi.xml index fe9c43b03..7a5f38dbf 100644 --- a/assets/resources/application/vi.xml +++ b/assets/resources/application/vi.xml @@ -445,6 +445,10 @@ + + + + diff --git a/assets/resources/application/zh.xml b/assets/resources/application/zh.xml index fcac1e587..068e828ae 100644 --- a/assets/resources/application/zh.xml +++ b/assets/resources/application/zh.xml @@ -451,6 +451,10 @@ --> + + + + diff --git a/src/org/geometerplus/android/fbreader/preferences/PreferenceActivity.java b/src/org/geometerplus/android/fbreader/preferences/PreferenceActivity.java index d6d4048e3..9d974e088 100644 --- a/src/org/geometerplus/android/fbreader/preferences/PreferenceActivity.java +++ b/src/org/geometerplus/android/fbreader/preferences/PreferenceActivity.java @@ -312,6 +312,14 @@ public class PreferenceActivity extends ZLPreferenceActivity { displayScreen.Resource, "dontTurnScreenOff" )); + /* + displayScreen.addPreference(new ZLBooleanPreference( + this, + androidApp.DontTurnScreenOffDuringChargingOption, + displayScreen.Resource, + "dontTurnScreenOffDuringCharging" + )); + */ /* final Screen colorProfileScreen = createPreferenceScreen("colorProfile"); diff --git a/src/org/geometerplus/zlibrary/ui/android/library/ZLAndroidApplication.java b/src/org/geometerplus/zlibrary/ui/android/library/ZLAndroidApplication.java index e8d80fd74..4f5e451c7 100644 --- a/src/org/geometerplus/zlibrary/ui/android/library/ZLAndroidApplication.java +++ b/src/org/geometerplus/zlibrary/ui/android/library/ZLAndroidApplication.java @@ -36,6 +36,7 @@ public class ZLAndroidApplication extends Application { public final ZLBooleanOption AutoOrientationOption = new ZLBooleanOption("LookNFeel", "AutoOrientation", false); public final ZLBooleanOption ShowStatusBarOption = new ZLBooleanOption("LookNFeel", "ShowStatusBar", false); public final ZLIntegerRangeOption BatteryLevelToTurnScreenOffOption = new ZLIntegerRangeOption("LookNFeel", "BatteryLevelToTurnScreenOff", 0, 100, 50); + public final ZLBooleanOption DontTurnScreenOffDuringChargingOption = new ZLBooleanOption("LookNFeel", "DontTurnScreenOffDuringCharging", true); public final ZLIntegerRangeOption ScreenBrightnessLevelOption = new ZLIntegerRangeOption("LookNFeel", "ScreenBrightnessLevel", 0, 100, 0); public static ZLAndroidApplication Instance() {