Skip to content

Commit

Permalink
Navigate using volume keys #172
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaher committed Aug 11, 2012
1 parent 26bbe91 commit c5a6f95
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<string name="get_arabic_search_db">حمل قاعدة البيانات</string>

<!-- Quran Preference Activity -->
<string name="prefs_category_navigation">التصفح</string>
<string name="prefs_volume_key_navigation_title">تصفح بمفاتيح الصوت</string>
<string name="prefs_volume_key_navigation_summary">استخدم مفاتيح الصوت للتصفح بين الصفحات</string>
<string name="prefs_category_reading">إعدادات القراءة</string>
<string name="prefs_category_translation">إعدادات التفسير والترجمة</string>
<string name="prefs_category_display_settings">إعدادات العرض</string>
Expand Down
3 changes: 2 additions & 1 deletion res/values/preferences_keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(DONT TRANSLATE - DONT ADD UNRELATED STRINGS)
-->

<string name="prefs_path">QuranAndroid_Settings</string>
<string name="prefs_path">QuranAndroid_Settings</string>
<string name="prefs_use_arabic_names">useArabicNames</string>
<string name="prefs_new_background">useNewBackground</string>
<string name="prefs_night_mode">nightMode</string>
Expand All @@ -18,4 +18,5 @@
<string name="prefs_prefer_streaming">preferStreaming</string>
<string name="prefs_download_amount">preferredDownloadAmount</string>
<string name="prefs_use_arabic_reshaper">useArabicReshaper</string>
<string name="prefs_volume_key_navigation">volumeKeyNavigation</string>
</resources>
3 changes: 3 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
<string name="get_arabic_search_db">Get Arabic Search Database</string>

<!-- Quran Preference Activity -->
<string name="prefs_category_navigation">Navigation</string>
<string name="prefs_volume_key_navigation_title">Volume key navigation</string>
<string name="prefs_volume_key_navigation_summary">Navigate between pages using volume keys</string>
<string name="prefs_category_reading">Reading Preferences</string>
<string name="prefs_category_translation">Translation Preferences</string>
<string name="prefs_category_display_settings">Display Settings</string>
Expand Down
9 changes: 9 additions & 0 deletions res/xml/quran_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
android:title="@string/prefs_night_mode_title" />

</PreferenceCategory>

<PreferenceCategory android:title="@string/prefs_category_navigation">
<CheckBoxPreference android:defaultValue="false"
android:key="@string/prefs_volume_key_navigation"
android:persistent="true"
android:summary="@string/prefs_volume_key_navigation_summary"
android:title="@string/prefs_volume_key_navigation_title"/>

</PreferenceCategory>

<PreferenceCategory android:title="@string/prefs_category_reading" >

Expand Down

0 comments on commit c5a6f95

Please sign in to comment.