Android Bitmap or BitmapDrawable?

I have been programming a game for Android for a while, and I wonder if there is a difference between a Bitmapand a BitmapDrawable.

Any answers should include any differences between RAM, download speed, etc.

+4
source share
2 answers

A bitmap is faster to draw and is usually useful for background images. FPS changes significantly depending on whether you draw a bitmap or stretch. Bitmaps move faster. Low RAM usage

, , , . , , - . .

: Drawable, , . Bitmap Drawable , , XML Bitmap.

+7

- , . , , BitmapDrawable - , , , ..

0

Source: https://habr.com/ru/post/1569541/


All Articles