Example usage for Java android.graphics.drawable Icon fields, constructors, methods, implement or subclass
The text is from its open source code.
Icon | createWithAdaptiveBitmap(Bitmap bits) Create an Icon pointing to a bitmap in memory that follows the icon design guideline defined by AdaptiveIconDrawable . |
Icon | createWithBitmap(Bitmap bits) Create an Icon pointing to a bitmap in memory. |
Icon | createWithResource(Context context, @DrawableRes int resId) Create an Icon pointing to a drawable resource. |
Icon | createWithResource(Resources res, @DrawableRes int resId) Version of createWithResource that takes Resources. |
Icon | createWithResource(String resPackage, @DrawableRes int resId) Create an Icon pointing to a drawable resource. |