first
This commit is contained in:
21
main/res/xml/preference.xml
Normal file
21
main/res/xml/preference.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="设置">
|
||||
|
||||
<EditTextPreference
|
||||
android:key="homepage"
|
||||
android:defaultValue="http://www.baidu.com"
|
||||
android:summary="http://www.baidu.com"
|
||||
android:title="主页"
|
||||
android:background="#282828"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="switch_adBlock"
|
||||
android:defaultValue="true"
|
||||
android:title="广告过滤"/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="switch_iframeBlock"
|
||||
android:defaultValue="false"
|
||||
android:title="iframe过滤"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user