Example usage for android.widget CompoundButton subclass-usage

List of usage examples for android.widget CompoundButton subclass-usage

Introduction

In this page you can find the example usage for android.widget CompoundButton subclass-usage.

Usage

From source file org.telegram.ui.Components.Switch.java

public class Switch extends CompoundButton {

    public static class Insets {
        public static final Insets NONE = new Insets(AndroidUtilities.dp(4), 0, AndroidUtilities.dp(4), 0);

        public final int left;

From source file lewa.support.v7.widget.SwitchCompat.java

/**
 * SwitchCompat is a version of the Switch widget which on devices back to API v7. It does not
 * make any attempt to use the platform provided widget on those devices which it is available
 * normally.
 * <p>
 * A Switch is a two-state toggle switch widget that can select between two

From source file android.support.v7ox.widget.SwitchCompat.java

/**
 * SwitchCompat is a version of the Switch widget which on devices back to API v7. It does not
 * make any attempt to use the platform provided widget on those devices which it is available
 * normally.
 * <p>
 * A Switch is a two-state toggle switch widget that can select between two

From source file android.support.v7.widget.SwitchCompat.java

/**
 * SwitchCompat is a version of the Switch widget which on devices back to API v7. It does not
 * make any attempt to use the platform provided widget on those devices which it is available
 * normally.
 * <p>
 * A Switch is a two-state toggle switch widget that can select between two

From source file io.intrepid.russell.smileyswitch.support.SwitchCompat.java

/**
 * SwitchCompat is a version of the Switch widget which on devices back to API v7. It does not
 * make any attempt to use the platform provided widget on those devices which it is available
 * normally.
 * <p>
 * A Switch is a two-state toggle switch widget that can select between two

From source file com.mixiaoxiao.support.widget.SmoothSwitch.java

/**
 * SwitchCompat is a version of the Switch widget which on devices back to API
 * v7. It does not make any attempt to use the platform provided widget on those
 * devices which it is available normally.
 * <p>
 * A Switch is a two-state toggle switch widget that can select between two

From source file rikka.akashitoolkit.widget.IconSwitchCompat.java

/**
 * Created by Rikka on 2016/5/13.
 */
public class IconSwitchCompat extends CompoundButton {
    private static final int THUMB_ANIMATION_DURATION = 250;

From source file rikka.akashitoolkit.ui.widget.IconSwitchCompat.java

/**
 * Created by Rikka on 2016/5/13.
 */
public class IconSwitchCompat extends CompoundButton {
    private static final int THUMB_ANIMATION_DURATION = 250;