|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectLinearLayout
com.devoteam.quickaction.QuickActionItem
public class QuickActionItem
A class that creates a layout arranged to fit in a QuickActionMenu Based on the great work done by Mohd Faruq
| Constructor Summary | |
|---|---|
QuickActionItem(Context context,
AttributeSet attrs)
Creates a new Instance of a QuickActionItem |
|
| Method Summary | |
|---|---|
boolean |
isChecked()
|
int[] |
onCreateDrawableState(int extraSpace)
|
void |
setChecked(boolean checked)
|
void |
setImageDrawable(Drawable drawable)
Sets the icon for the view |
void |
setText(java.lang.String text)
Sets a label for the view |
void |
toggle()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuickActionItem(Context context,
AttributeSet attrs)
context - Context to use, usually your Appication or your Activityattrs - A collection of attributes, as found associated with a tag in an XML document| Method Detail |
|---|
public int[] onCreateDrawableState(int extraSpace)
public void toggle()
public boolean isChecked()
public void setChecked(boolean checked)
public void setImageDrawable(Drawable drawable)
drawable - The icon for this itempublic void setText(java.lang.String text)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||