Adjacent Files

Project Info

. > app > src > main > java > james > alarmio > utils > ImageUtils.java

drawableToBitmap

Type: public static Bitmap

Converts drawables to bitmaps.

Parameter Name Description
drawable A drawable.

Returned Value: A bitmap.

getBackgroundImage

Type: public static void

Gets the current user-defined background image from SharedPreferences and applies it to the passed view.

Parameter Name Description
imageView The ImageView to apply the background image to.
This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close