Example usage for Java android.support.v4.graphics.drawable IconCompat fields, constructors, methods, implement or subclass
The text is from its open source code.
IconCompat | createWithAdaptiveBitmap(Bitmap bits) Create an Icon pointing to a bitmap in memory that follows the icon design guideline defined by android.graphics.drawable.AdaptiveIconDrawable . |
IconCompat | createWithBitmap(Bitmap bits) Create an Icon pointing to a bitmap in memory. |
IconCompat | createWithResource(Context context, @DrawableRes int resId) Create an Icon pointing to a drawable resource. |
Icon | toIcon() Convert this compat object to Icon object. |