aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/settings_drawer.xml
blob: 4b92737e9659bb9586a804fbe5532ab45a26d353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:myns="http://schemas.android.com/apk/res/github.daneren2005.dsub"
	android:title="@string/settings.drawer_items_title">

	<PreferenceCategory
		android:title="@string/settings.drawer_items_title">

		<CheckBoxPreference
			android:title="@string/settings.podcasts_enabled"
			android:summary="@string/settings.podcasts_enabled_summary"
			android:key="podcastsEnabled"
			android:defaultValue="true"/>

		<CheckBoxPreference
			android:title="@string/settings.bookmarks_enabled"
			android:summary="@string/settings.bookmarks_enabled_summary"
			android:key="bookmarksEnabled"
			android:defaultValue="true"/>

		<CheckBoxPreference
			android:title="@string/settings.shares_enabled"
			android:summary="@string/settings.shares_enabled_summary"
			android:key="sharedEnabled"
			android:defaultValue="true"/>

		<CheckBoxPreference
			android:title="@string/settings.chat_enabled"
			android:summary="@string/settings.chat_enabled_summary"
			android:key="chatEnabled"
			android:defaultValue="true"/>

		<CheckBoxPreference
			android:title="@string/settings.admin_enabled"
			android:summary="@string/settings.admin_enabled_summary"
			android:key="adminEnabled"
			android:defaultValue="true"/>
	</PreferenceCategory>

	<PreferenceCategory
		android:title="@string/settings.other_title">

		<ListPreference
			android:title="@string/settings.open_to_tab"
			android:summary="@string/settings.open_to_tab_summary"
			android:key="openToTab"
			android:entryValues="@array/defaultDrawerItemsDescriptions"
			android:entries="@array/defaultDrawerItems"
			android:defaultValue="Home"/>

		<github.daneren2005.dsub.view.SeekBarPreference
			android:title="@string/settings.chat_refresh"
			android:key="chatRefreshRate"
			android:defaultValue="30"
			android:dialogLayout="@layout/seekbar_preference"
			myns:max="120"
			myns:display="%.0f seconds"/>
	</PreferenceCategory>
</PreferenceScreen>