List of utility methods to do View to Drawable Convert
Drawable | view2Drawable(View view) view Drawable BitmapDrawable mBitmapDrawable = null; try { Bitmap newbmp = view2Bitmap(view); if (newbmp != null) { mBitmapDrawable = new BitmapDrawable(newbmp); } catch (Exception e) { e.printStackTrace(); ... |
Drawable | view2Drawable(View view) view Drawable BitmapDrawable mBitmapDrawable = null; try { Bitmap newbmp = view2Bitmap(view); if (newbmp != null) { mBitmapDrawable = new BitmapDrawable(newbmp); } catch (Exception e) { e.printStackTrace(); ... |