@ -28,6 +28,10 @@ public class AboutSettingsActivity extends ActionBarActivity {
@@ -28,6 +28,10 @@ public class AboutSettingsActivity extends ActionBarActivity {
@ -37,7 +41,6 @@ public class AboutSettingsActivity extends ActionBarActivity {
@@ -37,7 +41,6 @@ public class AboutSettingsActivity extends ActionBarActivity {
@ -34,6 +34,10 @@ public class AdvancedSettingsActivity extends ActionBarActivity {
@@ -34,6 +34,10 @@ public class AdvancedSettingsActivity extends ActionBarActivity {
@ -43,7 +47,6 @@ public class AdvancedSettingsActivity extends ActionBarActivity {
@@ -43,7 +47,6 @@ public class AdvancedSettingsActivity extends ActionBarActivity {
@ -22,30 +23,31 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -22,30 +23,31 @@ public class DisplaySettingsActivity extends ActionBarActivity {
// TODO WARNING: SharedPreferences.edit() without a corresponding
// commit() or apply() call
mEditPrefs=mPreferences.edit();
initialize();
}
@ -57,7 +59,7 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -57,7 +59,7 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -65,18 +67,23 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -65,18 +67,23 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -84,11 +91,13 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -84,11 +91,13 @@ public class DisplaySettingsActivity extends ActionBarActivity {
rOverView(rOverView);
rTextReflow(rTextReflow);
rTextSize(rTextSize);
rDarkTheme(rDarkTheme);
cbHideStatusBar(cbHideStatusBar);
cbFullScreen(cbFullScreen);
cbWideViewPort(cbWideViewPort);
cbOverView(cbOverView);
cbTextReflow(cbTextReflow);
cbDarkTheme(cbDarkTheme);
}
privatevoidcbHideStatusBar(CheckBoxview){
@ -96,8 +105,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -96,8 +105,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -108,21 +117,31 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -108,21 +117,31 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -133,8 +152,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -133,8 +152,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -145,8 +164,7 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -145,8 +164,7 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -173,6 +191,17 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -173,6 +191,17 @@ public class DisplaySettingsActivity extends ActionBarActivity {
});
}
privatevoidrDarkTheme(RelativeLayoutview){
view.setOnClickListener(newOnClickListener(){
@Override
publicvoidonClick(Viewv){
cbDarkTheme.setChecked(!cbDarkTheme.isChecked());
}
});
}
privatevoidrWideViewPort(RelativeLayoutview){
view.setOnClickListener(newOnClickListener(){
@ -224,8 +253,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@@ -224,8 +253,8 @@ public class DisplaySettingsActivity extends ActionBarActivity {
@ -44,6 +44,10 @@ public class GeneralSettingsActivity extends ActionBarActivity {
@@ -44,6 +44,10 @@ public class GeneralSettingsActivity extends ActionBarActivity {
@ -53,7 +57,6 @@ public class GeneralSettingsActivity extends ActionBarActivity {
@@ -53,7 +57,6 @@ public class GeneralSettingsActivity extends ActionBarActivity {
@ -39,6 +39,10 @@ public class PrivacySettingsActivity extends ActionBarActivity {
@@ -39,6 +39,10 @@ public class PrivacySettingsActivity extends ActionBarActivity {
@ -48,7 +52,6 @@ public class PrivacySettingsActivity extends ActionBarActivity {
@@ -48,7 +52,6 @@ public class PrivacySettingsActivity extends ActionBarActivity {
@ -47,16 +72,41 @@ public class ReadingActivity extends ActionBarActivity {
@@ -47,16 +72,41 @@ public class ReadingActivity extends ActionBarActivity {
@ -146,8 +196,57 @@ public class ReadingActivity extends ActionBarActivity {
@@ -146,8 +196,57 @@ public class ReadingActivity extends ActionBarActivity {
@ -35,32 +35,46 @@ public class SettingsActivity extends ActionBarActivity {
@@ -35,32 +35,46 @@ public class SettingsActivity extends ActionBarActivity {
@ -76,14 +90,14 @@ public class SettingsActivity extends ActionBarActivity {
@@ -76,14 +90,14 @@ public class SettingsActivity extends ActionBarActivity {
@ -113,7 +127,7 @@ public class SettingsActivity extends ActionBarActivity {
@@ -113,7 +127,7 @@ public class SettingsActivity extends ActionBarActivity {
@ -129,10 +143,11 @@ public class SettingsActivity extends ActionBarActivity {
@@ -129,10 +143,11 @@ public class SettingsActivity extends ActionBarActivity {
@ -183,13 +198,13 @@ public class SettingsActivity extends ActionBarActivity {
@@ -183,13 +198,13 @@ public class SettingsActivity extends ActionBarActivity {