add SwitchCompat to preferences

Closes #3137
This commit is contained in:
agrajaghh
2015-05-17 14:13:34 +02:00
committed by Moxie Marlinspike
parent 9a6b559afe
commit 3e890e11d9
7 changed files with 66 additions and 10 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.SwitchCompat xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false" />