disable ActionBar by default in fullscreen mode
- iitcm can now be controlled via navigation drawers
This commit is contained in:
parent
a9e7aea32e
commit
935c5b40ee
@ -65,7 +65,7 @@
|
|||||||
<string name="pref_user_zoom">Show zoom control</string>
|
<string name="pref_user_zoom">Show zoom control</string>
|
||||||
<string name="pref_user_zoom_sum">Shows +/- buttons even on multitouch capable devices.</string>
|
<string name="pref_user_zoom_sum">Shows +/- buttons even on multitouch capable devices.</string>
|
||||||
<string name="pref_fullscreen_actionbar">Hide Action Bar in fullscreen mode</string>
|
<string name="pref_fullscreen_actionbar">Hide Action Bar in fullscreen mode</string>
|
||||||
<string name="pref_fullscreen_actionbar_sum">Nice for screenshots. Note: IITCM cannot be controlled without Action Bar.</string>
|
<string name="pref_fullscreen_actionbar_sum">Nice for screenshots. Note: IITCm can still be controlled via the Navigation Drawers</string>
|
||||||
<string name="pref_force_desktop">Force desktop mode</string>
|
<string name="pref_force_desktop">Force desktop mode</string>
|
||||||
<string name="pref_force_desktop_sum">Nice for tablets, looks awful on smartphones</string>
|
<string name="pref_force_desktop_sum">Nice for tablets, looks awful on smartphones</string>
|
||||||
<string name="pref_force_https">Force https</string>
|
<string name="pref_force_https">Force https</string>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
android:key="pref_fullscreen_actionbar"
|
android:key="pref_fullscreen_actionbar"
|
||||||
android:title="@string/pref_fullscreen_actionbar"
|
android:title="@string/pref_fullscreen_actionbar"
|
||||||
android:summary="@string/pref_fullscreen_actionbar_sum"
|
android:summary="@string/pref_fullscreen_actionbar_sum"
|
||||||
android:defaultValue="false" />
|
android:defaultValue="true" />
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="pref_force_desktop"
|
android:key="pref_force_desktop"
|
||||||
android:title="@string/pref_force_desktop"
|
android:title="@string/pref_force_desktop"
|
||||||
|
@ -224,7 +224,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
|
|||||||
|
|
||||||
public void onPrefChanged() {
|
public void onPrefChanged() {
|
||||||
mDesktopMode = mPrefs.getBoolean("pref_force_desktop", false);
|
mDesktopMode = mPrefs.getBoolean("pref_force_desktop", false);
|
||||||
mHideInFullscreen = mPrefs.getBoolean("pref_fullscreen_actionbar", false);
|
mHideInFullscreen = mPrefs.getBoolean("pref_fullscreen_actionbar", true);
|
||||||
updateActionBar();
|
updateActionBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user