UiUtils

open class UiUtils

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun alphaColor(percentAlpha: Double, oldColor: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getImageAsync(v: ImageView, url: String)
open fun getImageAsync(url: String, callback: ICommandCallback<Bitmap>)
Link copied to clipboard
open fun isLandscape(context: Context): Boolean
Link copied to clipboard
open fun isPhone(context: Context): Boolean
Link copied to clipboard
open fun isPortrait(context: Context): Boolean
Link copied to clipboard
open fun isTablet(context: Context): Boolean
Link copied to clipboard
open fun resolveAlphaFromAttr(context: Context, alpha: Int): Int
Link copied to clipboard
open fun resolveBooleanFromAttr(context: Context, attr: Int): Boolean
Link copied to clipboard
open fun resolveColorFromAttr(context: Context, attr: Int): Int
Link copied to clipboard
open fun resolveDrawableFromAttr(context: Context, drawable: Int): Drawable
Link copied to clipboard
open fun tintDrawable(context: Context, drawable: Drawable, attr: Int)
open fun tintDrawable(context: Context, drawable: Drawable, attr: Int, alpha: Int)

Properties

Link copied to clipboard