public static RoundedBitmapDrawable fromBitmapDrawable ( Resources res , BitmapDrawable bitmapDrawable ) { return new RoundedBitmapDrawable ( res , bitmapDrawable . getBitmap ( ) , bitmapDrawable . getPaint ( ) ) ; }
Creates a new RoundedBitmapDrawable from the given BitmapDrawable .