mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-23 13:02:45 +00:00
22 lines
684 B
Java
22 lines
684 B
Java
package com.limelight.preferences;
|
|
|
|
import android.content.Context;
|
|
import android.content.res.TypedArray;
|
|
import android.preference.CheckBoxPreference;
|
|
import android.util.AttributeSet;
|
|
|
|
public class SmallIconCheckboxPreference extends CheckBoxPreference {
|
|
public SmallIconCheckboxPreference(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
super(context, attrs, defStyleAttr);
|
|
}
|
|
|
|
public SmallIconCheckboxPreference(Context context, AttributeSet attrs) {
|
|
super(context, attrs);
|
|
}
|
|
|
|
@Override
|
|
protected Object onGetDefaultValue(TypedArray a, int index) {
|
|
return PreferenceConfiguration.getDefaultSmallMode(getContext());
|
|
}
|
|
}
|