View SwitchPreferenceCompat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cgollner.unclouded.preferences; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.os.Build; | |
import android.preference.CheckBoxPreference; | |
import android.util.AttributeSet; | |
import com.cgollner.unclouded.R; |
View SwitchPreferenceCompat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cgollner.unclouded.preferences; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.os.Build; | |
import android.preference.CheckBoxPreference; | |
import android.util.AttributeSet; | |
import com.cgollner.unclouded.R; |
View preference_switch_layout.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" /> |
View preference_switch_layout.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" /> |
View SwitchPreferenceCompat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cgollner.unclouded.preferences; | |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.os.Build; | |
import android.preference.CheckBoxPreference; | |
import android.util.AttributeSet; | |
import com.cgollner.unclouded.R; |