Add blacklist option and minor code improvements

This commit is contained in:
Karim Abou Zeid 2017-09-08 16:22:18 +02:00
commit 8a75b8b68f
13 changed files with 574 additions and 28 deletions

View file

@ -286,4 +286,10 @@
<string name="restore">Restore</string>
<string name="no_purchase_found">No purchase found.</string>
<string name="eugene_cheung_summary">For his contributions to the source code.</string>
<string name="add_action">Add</string>
<string name="blacklist">Blacklist</string>
<string name="remove_from_blacklist">Remove from blacklist</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Do you want to remove <b>%1$s</b> from the blacklist?]]></string>
<string name="clear_blacklist">Clear blacklist</string>
<string name="do_you_want_to_clear_the_blacklist">Do you want to clear the blacklist?</string>
</resources>

View file

@ -0,0 +1,12 @@
<android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory android:title="Blacklist">
<com.kabouzeid.gramophone.preferences.BlacklistPreference
android:key="blacklist"
android:summary="The content of blacklisted folders is hidden from your library."
android:title="Blacklist" />
</com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
</android.support.v7.preference.PreferenceScreen>