public class CustomChip
extends Chip
| Constructor and Description |
|---|
CustomChip(android.content.Context context) |
CustomChip(android.content.Context context,
android.util.AttributeSet attrs) |
CustomChip(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
CustomChip |
build() |
void |
changeBackgroundColor(int backgroundColor) |
void |
changeSelectedBackgroundColor(int selectedBackgroundColor) |
short |
getPresetNumber() |
void |
setChipSelected(boolean isSelected) |
void |
setEnabled(boolean enabled) |
void |
setPresetNumber(short presetNumber) |
void |
setSelectedTextColor(int selectedTextColor) |
void |
setTextColor(int textColor) |
public CustomChip(android.content.Context context)
public CustomChip(android.content.Context context,
android.util.AttributeSet attrs)
public CustomChip(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public CustomChip build()
public void setChipSelected(boolean isSelected)
public void changeBackgroundColor(int backgroundColor)
public void setTextColor(int textColor)
public void changeSelectedBackgroundColor(int selectedBackgroundColor)
public void setSelectedTextColor(int selectedTextColor)
public void setPresetNumber(short presetNumber)
public short getPresetNumber()
public void setEnabled(boolean enabled)