summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-23 02:22:25 +0100
committercyBerta <cyberta@riseup.net>2018-02-23 02:22:25 +0100
commit06eb4014837704e04d6ea8e9d7a69475a58c3c65 (patch)
tree02928ce2c698c2a78d0749e0bb425401d45c4d10 /app/src/main/res/layout
parentd6db9433d9f9e0e2f1dc21cd3de7d88d1e473861 (diff)
#8754 enable pause openvpn on device inactivity feature
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/switch_list_item.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/src/main/res/layout/switch_list_item.xml b/app/src/main/res/layout/switch_list_item.xml
new file mode 100644
index 00000000..bdb9a74c
--- /dev/null
+++ b/app/src/main/res/layout/switch_list_item.xml
@@ -0,0 +1,15 @@
+<android.support.v7.widget.SwitchCompat xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:gravity="center_vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:paddingRight="?android:attr/listPreferredItemPaddingRight"
+ android:background="?android:attr/activatedBackgroundIndicator"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:checked="false"
+ tools:text="someOption" /> \ No newline at end of file