Added FAQ to settings

This commit is contained in:
Anthony Restaino 2016-03-24 23:02:25 -04:00
parent 6e940b0a15
commit a7748ceee2
2 changed files with 21 additions and 7 deletions

View File

@ -234,4 +234,7 @@
<string name="action_add_to_homescreen">Add to Homescreen</string>
<string name="message_added_to_homescreen">Shortcut Added to Homescreen</string>
<string name="action_delete_all_bookmarks">Delete all bookmarks</string>
<string name="faq">FAQ</string>
<string name="faq_description">Frequently Asked Questions</string>
</resources>

View File

@ -2,21 +2,32 @@
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
<header
android:fragment="acr.browser.lightning.fragment.GeneralSettingsFragment"
android:title="@string/settings_general" />
android:title="@string/settings_general"/>
<header
android:fragment="acr.browser.lightning.fragment.BookmarkSettingsFragment"
android:title="@string/bookmark_settings" />
android:title="@string/bookmark_settings"/>
<header
android:fragment="acr.browser.lightning.fragment.DisplaySettingsFragment"
android:title="@string/settings_display" />
android:title="@string/settings_display"/>
<header
android:fragment="acr.browser.lightning.fragment.PrivacySettingsFragment"
android:title="@string/settings_privacy" />
android:title="@string/settings_privacy"/>
<header
android:fragment="acr.browser.lightning.fragment.AdvancedSettingsFragment"
android:title="@string/settings_advanced" />
android:title="@string/settings_advanced"/>
<header
android:fragment="acr.browser.lightning.fragment.AboutSettingsFragment"
android:title="@string/settings_about"
android:summary="@string/settings_about_explain" />
android:summary="@string/settings_about_explain"
android:title="@string/settings_about"/>
<header
android:summary="@string/faq_description"
android:title="@string/faq">
<intent
android:action="android.intent.action.VIEW"
android:data="http://acrdevelopment.org/lightning/faq">
<extra
android:name="SOURCE"
android:value="SELF"/>
</intent>
</header>
</preference-headers>