public class InAppMessageViewUtils
extends java.lang.Object
Constructor and Description |
---|
InAppMessageViewUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeInAppMessageOnKeycodeBack() |
static void |
resetMessageMarginsIfNecessary(android.widget.TextView messageView,
android.widget.TextView headerView) |
static void |
setDrawableColor(android.graphics.drawable.Drawable drawable,
int color) |
static void |
setFrameColor(android.view.View view,
java.lang.Integer color) |
static void |
setIcon(android.content.Context context,
java.lang.String icon,
int iconColor,
int iconBackgroundColor,
android.widget.TextView textView) |
static void |
setImage(android.graphics.Bitmap bitmap,
android.widget.ImageView imageView) |
static void |
setTextAlignment(android.widget.TextView textView,
TextAlign textAlign) |
static void |
setTextViewColor(android.widget.TextView textView,
int color) |
static void |
setViewBackgroundColor(android.view.View view,
int color) |
static void |
setViewBackgroundColorFilter(android.view.View view,
int color) |
public static void setImage(android.graphics.Bitmap bitmap, android.widget.ImageView imageView)
public static void setIcon(android.content.Context context, java.lang.String icon, int iconColor, int iconBackgroundColor, android.widget.TextView textView)
public static void setFrameColor(android.view.View view, java.lang.Integer color)
public static void setTextViewColor(android.widget.TextView textView, int color)
public static void setViewBackgroundColor(android.view.View view, int color)
public static void setViewBackgroundColorFilter(android.view.View view, int color)
public static void setDrawableColor(android.graphics.drawable.Drawable drawable, int color)
public static void resetMessageMarginsIfNecessary(android.widget.TextView messageView, android.widget.TextView headerView)
public static void closeInAppMessageOnKeycodeBack()
public static void setTextAlignment(android.widget.TextView textView, TextAlign textAlign)