ExtractButtonpublic class ExtractButton extends android.widget.Button Specialization of {@link Button} that ignores the window not being focused. |
Constructors Summary |
---|
public ExtractButton(android.content.Context context)
super(context, null);
| public ExtractButton(android.content.Context context, android.util.AttributeSet attrs)
super(context, attrs, com.android.internal.R.attr.buttonStyle);
| public ExtractButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)
this(context, attrs, defStyleAttr, 0);
| public ExtractButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
super(context, attrs, defStyleAttr, defStyleRes);
|
Methods Summary |
---|
public boolean | hasWindowFocus()Pretend like the window this view is in always has focus, so it will
highlight when selected.
return isEnabled() && getVisibility() == VISIBLE ? true : false;
|
|