com.samsung.android.sdk.professionalaudio.widgets
public class DrawableTool extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Drawable |
getDefaultDrawableWithNumber(Drawable baseDrawable,
int number,
Context context)
This method returns the given drawable with a number on it.
|
static Drawable |
getDrawableWithNumber(Drawable baseDrawable,
int number,
int shiftFromLeft,
int shiftFromBottom,
Context context)
This method returns the given drawable with a number on it.
|
public static Drawable getDrawableWithNumber(Drawable baseDrawable, int number, int shiftFromLeft, int shiftFromBottom, Context context)
baseDrawable
- Drawable to which number will be addednumber
- An integer which will be expressed by the drawableshiftFromLeft
- Left margin of number drawableshiftFromBottom
- Bottom margin of number drawablecontext
- The base contextpublic static Drawable getDefaultDrawableWithNumber(Drawable baseDrawable, int number, Context context)
baseDrawable
- Drawable to which number will be addednumber
- An integer which will be expressed by the drawablecontext
- The base context