2020-01-13 03:26:44 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-18 20:31:34 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".ui.SettingsActivity"
|
|
|
|
android:orientation="vertical"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:background="@color/dark_grey"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:id="@+id/iconSettings">
|
|
|
|
|
2020-01-18 20:31:34 +01:00
|
|
|
<include layout="@layout/item_toolbar" />
|
2020-01-14 19:17:45 +01:00
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<GridLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:columnCount="1">
|
|
|
|
|
2020-01-13 03:26:44 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:text="@string/edit_apps_title"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:textColor="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:gravity="center"/>
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="@android:color/darker_gray"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-13 03:26:44 +01:00
|
|
|
<TextView
|
2020-01-14 19:17:45 +01:00
|
|
|
android:id="@+id/mailView"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_mail"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:textColor="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:drawableStart="@drawable/ic_mail"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:drawableTint="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:drawableLeft="@drawable/ic_mail" />
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/mailBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-13 03:26:44 +01:00
|
|
|
<TextView
|
2020-01-14 19:17:45 +01:00
|
|
|
android:id="@+id/cloudView"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/Cloud"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:drawableStart="@drawable/ic_cloud"
|
|
|
|
android:drawableLeft="@drawable/ic_cloud"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cloudBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-13 03:26:44 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_forum"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:drawableStart="@drawable/ic_forum"
|
|
|
|
android:drawableLeft="@drawable/ic_forum"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/foumBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-13 03:26:44 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_chat"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:drawableStart="@drawable/ic_chat"
|
|
|
|
android:drawableLeft="@drawable/ic_chat"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/chatBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-13 03:26:44 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
2020-01-14 19:17:45 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-14 19:17:45 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_pad"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_pad"
|
|
|
|
android:drawableLeft="@drawable/ic_pad"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/padBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-14 19:17:45 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_calc"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_calc"
|
|
|
|
android:drawableLeft="@drawable/ic_calc"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/calcBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-14 19:17:45 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_bin"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_bin"
|
|
|
|
android:drawableLeft="@drawable/ic_bin"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/binBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-14 19:17:45 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_upload"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_upload"
|
|
|
|
android:drawableLeft="@drawable/ic_upload"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/uploadBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-14 19:17:45 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_searx"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_searx"
|
|
|
|
android:drawableLeft="@drawable/ic_searx"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/searxBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
2020-01-15 19:02:03 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-17 21:43:42 +01:00
|
|
|
style="@style/DisTheme.Settings">
|
2020-01-15 19:02:03 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_poll"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_poll"
|
|
|
|
android:drawableLeft="@drawable/ic_poll"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/pollsBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-15 19:02:03 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
2020-01-17 21:43:42 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_board"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_board"
|
|
|
|
android:drawableLeft="@drawable/ic_board"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/boardBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_calls"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_calls"
|
|
|
|
android:drawableLeft="@drawable/ic_calls"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/callsBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_notes"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_notes"
|
|
|
|
android:drawableLeft="@drawable/ic_notes"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/notesBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_git"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_git"
|
|
|
|
android:drawableLeft="@drawable/ic_git"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/gitBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_user"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_user"
|
|
|
|
android:drawableLeft="@drawable/ic_user"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/userBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_howto"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_howto"
|
|
|
|
android:drawableLeft="@drawable/ic_howto"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/howToBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/DisTheme.Settings">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:text="@string/action_about"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:drawableTint="@color/gray"
|
|
|
|
android:drawableStart="@drawable/ic_about"
|
|
|
|
android:drawableLeft="@drawable/ic_about"/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/aboutBtnPreference"
|
2020-01-18 20:31:34 +01:00
|
|
|
android:button="@drawable/checkbox"
|
2020-01-17 21:43:42 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"/>
|
|
|
|
</FrameLayout>
|
2020-01-13 03:26:44 +01:00
|
|
|
</GridLayout>
|
2020-01-14 19:17:45 +01:00
|
|
|
</ScrollView>
|
2020-01-13 03:26:44 +01:00
|
|
|
</LinearLayout>
|