class InternalUI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static android.app.Activity |
_appContext |
protected int |
_backgroundColor |
protected int |
_textColor |
protected android.graphics.Typeface |
_typeFace |
protected static int |
bgResourceId |
protected Logger |
logger |
protected static int |
themeResId |
Constructor and Description |
---|
InternalUI(java.lang.String TAG) |
Modifier and Type | Method and Description |
---|---|
static android.app.Activity |
getAppContext()
Return application context.
|
protected android.graphics.Typeface |
getTextTypeFace()
Return TypeFace of text component of the dialog.
|
static void |
setAppContext(android.app.Activity context)
Set application context.
|
void |
setBackgroundColor(int color)
Set background color for layout of the dialog.
|
void |
setBackgroundColor(java.lang.String color)
Set background color for layout of the dialog.
|
void |
setTextColor(int color)
Set text color for the text component of the dialog.
|
void |
setTextColor(java.lang.String color)
Set text color for the text component of the dialog.
|
void |
setTextTypeFace(android.graphics.Typeface typeFace)
Set resource TypeFace for the text component of the dialog.
|
protected Logger logger
protected static android.app.Activity _appContext
protected int _textColor
protected int _backgroundColor
protected android.graphics.Typeface _typeFace
protected static int themeResId
protected static int bgResourceId
public static void setAppContext(android.app.Activity context)
context
- Context of the application.public static android.app.Activity getAppContext()
public void setTextColor(java.lang.String color)
color
- string name of the color.public void setTextColor(int color)
color
- int value in the form 0xAARRGGBB.public void setBackgroundColor(java.lang.String color)
color
- string name of the color.public void setBackgroundColor(int color)
color
- int value in the form 0xAARRGGBB.public void setTextTypeFace(android.graphics.Typeface typeFace)
typeFace
- typeFace instance.protected android.graphics.Typeface getTextTypeFace()