fix: app crash when a timer callback throws exception on main thread; feat: umeng ads

This commit is contained in:
hyb1996
2018-09-15 14:04:01 +08:00
parent 02c64cd7b1
commit a3ae309742
15 changed files with 129 additions and 161 deletions

View File

@@ -93,9 +93,13 @@
<com.stardust.theme.preference.ThemeColorPreferenceCategory
android:layout="@layout/preference_category_custom"
android:title="@string/text_ad">
<Preference
<com.afollestad.materialdialogs.prefs.MaterialListPreference
android:defaultValue="0"
android:entries="@array/ad_types_keys"
android:entryValues="@array/ad_types_values"
android:key="@string/key_ad_type"
android:layout="@layout/preference_custom"
android:title="@string/show_ad"
android:title="@string/text_ad_type_settings"
/>
<com.afollestad.materialdialogs.prefs.MaterialListPreference
android:defaultValue="@string/text_default"