I have been programming a game for Android for a while, and I wonder if there is a difference between a Bitmapand a BitmapDrawable.
Bitmap
BitmapDrawable
Any answers should include any differences between RAM, download speed, etc.
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.
- , . , , BitmapDrawable - , , , ..
Source: https://habr.com/ru/post/1569541/More articles:How to calculate two cumulative functions with Java threads? - javaThe difference between a variable and an identifier - javaHow to enable -enable-experimental-mirror in dart creation? - dartUnderstanding xml schema - javaHow to print telnet response line by line? - pythonLogical Disjunction (OR) using mocha and chai - javascriptjavascript - request for explanation of behavior - javascriptIP to CIDR / IP Range - apihow to print a saved txt file in java using a printer - javaДата синтаксического анализа Java с часовым поясом из строки - javaAll Articles