Android Bitmap Processing: Rounded Corners and Creative Filter Effects
Rounded Corner Bitmaps
public static Bitmap createRoundedBitmap(Bitmap sourceBitmap, float cornerRadius) {
Bitmap resultBitmap = Bitmap.createBitmap(sourceBitmap.getWidth(), sourceBitmap.getHeight(), Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(resultBitmap);
final int maskColor = 0xff424242;
final Paint paint = new ...
Posted on Fri, 08 May 2026 08:27:30 +0000 by bryanptcs
Android Application Resource Basics: Style Configuration
Style resources define interface formatting and visual properties. They can be applied to individual View components (directly from layout files) or to entire Activity or application instances (via manifest file).
Note: Styles are simple resources referenced using the value provided in their name attribute, not the XML filename. This allows co ...
Posted on Thu, 07 May 2026 08:50:15 +0000 by validkeys