public class BootstrapLabel extends AwesomeTextView implements RoundableView, BootstrapHeadingView
AwesomeTextView.AnimationSpeedKEYKEYKEYKEY| Constructor and Description |
|---|
BootstrapLabel(Context context) |
BootstrapLabel(Context context,
AttributeSet attrs) |
BootstrapLabel(Context context,
AttributeSet attrs,
int defStyle) |
| Modifier and Type | Method and Description |
|---|---|
BootstrapHeading |
getBootstrapHeading() |
boolean |
isRounded() |
void |
onRestoreInstanceState(Parcelable state) |
Parcelable |
onSaveInstanceState() |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
void |
setBootstrapHeading(BootstrapHeading bootstrapHeading)
Sets this view to use the given Bootstrap Heading, changing its text size and padding
|
void |
setRounded(boolean rounded)
Sets whether the view should display rounded corners or not
|
void |
updateBootstrapState() |
getBootstrapBrand, getBootstrapText, setBootstrapBrand, setBootstrapText, setFontAwesomeIcon, setIcon, setMarkdownText, setText, setTypicon, startFlashing, startRotatepublic BootstrapLabel(Context context)
public BootstrapLabel(Context context,
AttributeSet attrs)
public BootstrapLabel(Context context,
AttributeSet attrs,
int defStyle)
public Parcelable onSaveInstanceState()
onSaveInstanceState in class AwesomeTextViewpublic void onRestoreInstanceState(Parcelable state)
onRestoreInstanceState in class AwesomeTextViewpublic void updateBootstrapState()
updateBootstrapState in class AwesomeTextViewprotected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
public void setRounded(boolean rounded)
RoundableViewsetRounded in interface RoundableViewrounded - whether the view should be roundedpublic boolean isRounded()
isRounded in interface RoundableViewpublic void setBootstrapHeading(@NonNull
BootstrapHeading bootstrapHeading)
BootstrapHeadingViewsetBootstrapHeading in interface BootstrapHeadingViewbootstrapHeading - the Bootstrap Heading@NonNull public BootstrapHeading getBootstrapHeading()
getBootstrapHeading in interface BootstrapHeadingView