Vector Drawables vs Bitmap in terms of RAM (Android)
In terms of RAM utilized by a drawable when it is rendered on on the screen, does it make any difference if the drawable is a vector or a bitmap? I understand that vectors take less storage space, but I'm asking about the RAM needed in order to render it, since in theory, it is still being drawn onto a canvas with the same amount of pixels in the end. Thanks!
From the document I read sometime ago (same question with you). The different between these 2 options is the size of APK file after all when you release. SVG will help you save size of apk. The initial loading of a vector graphic can cost more CPU cycles than the corresponding raster image. Afterward, memory use and performance are similar between the two. We recommend that you limit a vector image to a maximum of 200 x 200 dp; otherwise, it can take too long to draw. Being drawn on view will have those 2 options having same RAM (memory) consumed. My reference source: https://developer.android.com/studio/write/vector-asset-studio.html#about
React native: catch volume buttons press (not for volume adjusting)
Not able to populate text in autoCompleteTextView in android
why Broadcast Receiver Don't work for service application android?
Showing big view notifications with Firebase Cloud Messaging
Not able to upload an Image in Firebase Storage
Error with installing app on android device by AndroidStudio
How to make several mobile devices (both iOS and Android) communicate without using internet
OnClickListener doesn't change view in Custom BaseAdapter
Android studio palette is missing
How to parse inner JSON object using Gson in Android
Sending POST within BroadcastReceiver
In Exoplayer,How to reload and resume playback automatically?
Draw route using points slowly
cropped image and save it into mysqldatabse
The right way to implement twitter authentication
ConstraintLayout messes up after I change the src of an ImageView