Browse Source

Added FAQ to settings

master
Anthony Restaino 9 years ago
parent
commit
a7748ceee2
  1. 3
      app/src/main/res/values/strings.xml
  2. 15
      app/src/main/res/xml/preferences_headers.xml

3
app/src/main/res/values/strings.xml

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

15
app/src/main/res/xml/preferences_headers.xml

@ -17,6 +17,17 @@
android:title="@string/settings_advanced"/> android:title="@string/settings_advanced"/>
<header <header
android:fragment="acr.browser.lightning.fragment.AboutSettingsFragment" 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> </preference-headers>
Loading…
Cancel
Save