1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-08 21:31:10 +01:00

Allow turning off toolbar intellihide

This commit is contained in:
Gregor Santner 2016-07-31 15:16:22 +02:00
parent 1d2a428df6
commit a15e060e25
9 changed files with 68 additions and 38 deletions

View file

@ -160,5 +160,7 @@ along with this program. If not, see http://www.gnu.org/licenses.<br> <br
<string name="all_tags">Alle Tags</string>
<string name="pref_desc_clear_cache">WebView Cache leeren</string>
<string name="pref_title_clear_cache">Cache leeren</string>
<string name="pref_title_intellihide_toolbars">Toolbars intelligent verstecken</string>
<string name="pref_desc_intellihide_toolbars">Obere und untere Toolbar verstecken während des Scrollens von Inhalt</string>
</resources>

View file

@ -175,4 +175,6 @@
<string name="toast_set_proxy_failed">Warning: Could not set network proxy…</string>
<string name="all_tags">All tags</string>
<string name="pref_desc_intellihide_toolbars">Hide top and bottom toolbars automatically while scrolling</string>
<string name="pref_title_intellihide_toolbars">Intellihide Toolbars</string>
</resources>

View file

@ -2,76 +2,83 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Appearance -->
<PreferenceCategory
android:title="@string/pref_category_visuals"
android:key="pref_key_category_visuals">
android:key="pref_key_category_visuals"
android:title="@string/pref_category_visuals">
<ListPreference
android:title="@string/pref_title_font_size"
android:key="pref_key_font_size"
android:dialogTitle="@string/pref_title_font_size"
android:summary="%s"
android:entries="@array/pref_entries_font_size"
android:entryValues="@array/pref_entry_values_font_size" />
android:entryValues="@array/pref_entry_values_font_size"
android:key="pref_key_font_size"
android:summary="%s"
android:title="@string/pref_title_font_size"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_key_intellihide_toolbars"
android:summary="@string/pref_desc_intellihide_toolbars"
android:title="@string/pref_title_intellihide_toolbars"/>
</PreferenceCategory>
<!-- Diaspora Pod Settings -->
<PreferenceCategory
android:title="@string/pref_category_pod_settings"
android:key="pref_key_category_pod_settings">
android:key="pref_key_category_pod_settings"
android:title="@string/pref_category_pod_settings">
<Preference
android:title="@string/pref_title_personal_settings"
android:key="pref_key_personal_settings"
android:summary="@string/pref_desc_personal_settings">
android:summary="@string/pref_desc_personal_settings"
android:title="@string/pref_title_personal_settings">
</Preference>
<Preference
android:title="@string/pref_title_manage_tags"
android:key="pref_key_manage_tags"
android:summary="@string/pref_desc_manage_tags">
android:summary="@string/pref_desc_manage_tags"
android:title="@string/pref_title_manage_tags">
</Preference>
<Preference
android:title="@string/pref_title_manage_contacts"
android:key="pref_key_manage_contacts"
android:summary="@string/pref_desc_manage_contacts">
android:summary="@string/pref_desc_manage_contacts"
android:title="@string/pref_title_manage_contacts">
</Preference>
<Preference
android:title="@string/pref_title_change_account"
android:key="pref_key_change_account"
android:summary="@string/pref_desc_change_account">
android:summary="@string/pref_desc_change_account"
android:title="@string/pref_title_change_account">
</Preference>
</PreferenceCategory>
<!-- Networking -->
<PreferenceCategory
android:title="@string/pref_category_network"
android:key="pref_key_category_network">
android:key="pref_key_category_network"
android:title="@string/pref_category_network">
<CheckBoxPreference
android:title="@string/pref_title_load_images"
android:defaultValue="true"
android:key="pref_key_load_images"
android:summary="@string/pref_desc_load_images"
android:defaultValue="true" />
android:title="@string/pref_title_load_images"/>
<Preference
android:title="@string/pref_title_clear_cache"
android:key="pref_key_clear_cache"
android:summary="@string/pref_desc_clear_cache">
android:summary="@string/pref_desc_clear_cache"
android:title="@string/pref_title_clear_cache">
</Preference>
<CheckBoxPreference
android:title="@string/pref_title_proxy_enabled"
android:defaultValue="false"
android:key="pref_key_proxy_enabled"
android:summary="@string/pref_desc_proxy_enabled"
android:defaultValue="false" />
android:title="@string/pref_title_proxy_enabled"/>
<EditTextPreference
android:title="@string/pref_title_proxy_host"
android:dependency="pref_key_proxy_enabled"
android:inputType="textNoSuggestions"
android:key="pref_key_proxy_host"
android:dependency="pref_key_proxy_enabled"
android:inputType="textNoSuggestions"/>
android:title="@string/pref_title_proxy_host"/>
<EditTextPreference
android:title="@string/pref_title_proxy_port"
android:key="pref_key_proxy_port"
android:dependency="pref_key_proxy_enabled"
android:inputType="number" />
android:inputType="number"
android:key="pref_key_proxy_port"
android:title="@string/pref_title_proxy_port"/>
</PreferenceCategory>
</PreferenceScreen>