Example usage for android.widget ImageButton subclass-usage

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

Introduction

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

Usage

From source file io.github.importre.animatedicons.AnimatedButton.java

public abstract class AnimatedButton extends ImageButton {

    protected boolean checked;
    private Drawable offDrawable;
    private Drawable onDrawable;

From source file io.plaidapp.ui.widget.FABToggle.java

/**
 * A {@link Checkable} {@link ImageButton} which has a minimum offset i.e. translation Y.
 */
public class FABToggle extends ImageButton implements Checkable {

    private static final int[] CHECKED_STATE_SET = { android.R.attr.state_checked };

From source file io.plaidapp.ui.widget.FABToggle.java

/**
 * A {@link Checkable} {@link ImageButton} which has a minimum offset i.e. translation Y.
 */
public class FABToggle extends ImageButton implements Checkable {

    private static final int[] CHECKED_STATE_SET = { android.R.attr.state_checked };

From source file org.goodev.droidddle.widget.FABToggle.java

/**
 * A {@link Checkable} {@link ImageButton} which has a minimum offset i.e. translation Y.
 */
public class FABToggle extends ImageButton implements Checkable {

    private static final int[] CHECKED_STATE_SET = { android.R.attr.state_checked };

From source file us.phyxsi.gameshelf.ui.widget.FABToggle.java

/**
 * A {@link Checkable} {@link ImageButton} which has a minimum offset i.e. translation Y.
 */
public class FABToggle extends ImageButton implements Checkable {

    private static final int[] CHECKED_STATE_SET = { android.R.attr.state_checked };

From source file org.mariotaku.twidere.view.NavigationArrowButton.java

public class NavigationArrowButton extends ImageButton {

    private final int mHighlightColor;

    public NavigationArrowButton(final Context context) {
        this(context, null);

From source file org.getlantern.firetweet.view.NavigationArrowButton.java

public class NavigationArrowButton extends ImageButton {

    private final int mHighlightColor;

    public NavigationArrowButton(final Context context) {
        this(context, null);

From source file android.support.v7.app.MediaRouteExpandCollapseButton.java

/**
 * Chevron/Caret button to expand/collapse group volume list with animation.
 */
class MediaRouteExpandCollapseButton extends ImageButton {
    private final AnimationDrawable mExpandAnimationDrawable;
    private final AnimationDrawable mCollapseAnimationDrawable;

From source file org.opensilk.common.widget.TintImageButton.java

/**
 * Allows tinting drawables on API < 21
 *
 * Created by drew on 10/26/14.
 */
public class TintImageButton extends ImageButton {

From source file io.github.hidroh.materialistic.widget.IconButton.java

public class IconButton extends ImageButton {
    private static final int[][] STATES = new int[][] { new int[] { android.R.attr.state_enabled },
            new int[] { -android.R.attr.state_enabled } };
    private ColorStateList mColorStateList;
    private final boolean mTinted;