public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static float |
getValueInRange(float min,
float max,
float value) |
static float |
getViewRawX(android.view.View view) |
static float |
getViewRawY(android.view.View view) |
static void |
setBackground(android.view.View view,
android.graphics.drawable.Drawable drawable) |
public static float getViewRawY(android.view.View view)
public static float getViewRawX(android.view.View view)
public static float getValueInRange(float min,
float max,
float value)
public static void setBackground(android.view.View view,
android.graphics.drawable.Drawable drawable)