chinwag-android/app/src
Christophe Beyls 952f9a8614
Load shortcut image as Drawable instead of Bitmap (#4444)
Loading the image as a `Drawable` allows using the Drawable API to
abstract the drawing.
This way, any kind of `Drawable` (including the fallback vector
drawable) can be drawn in one pass to the Bitmap, without having to be
converted to a `Bitmap` first.

Also, `BitmapDrawable` will automatically use
[`Paint.FILTER_BITMAP_FLAG`](https://developer.android.com/reference/android/graphics/Paint#FILTER_BITMAP_FLAG)
when drawing, ensuring the resized image is high-quality even when using
a Bitmap-backed Canvas.
2024-05-13 19:19:00 +02:00
..
androidTest/java/com/keylesspalace/tusky Fix various lint warnings (#4409) 2024-05-05 08:34:41 +02:00
blue/res new app icon (#2695) 2022-09-13 19:48:09 +02:00
green/res Enforce lint cleanliness when building (#3363) 2023-03-13 10:23:42 +01:00
main Load shortcut image as Drawable instead of Bitmap (#4444) 2024-05-13 19:19:00 +02:00
test/java Replace Dagger-Android with Hilt and remove Kapt (#4423) 2024-05-10 15:55:07 +02:00