Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the difference between Bitmap and Drawable in Android?
Home
JQuery
What is the difference between Bitmap and Drawable in Android?
0
votes
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
What is the difference between Bitmap and Drawable in Android?
#android
#android-bitmap
#drawable
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 22, 2020
by
DavidAnderson
A
Bitmap
is a representation of a bitmap image (something like java.awt.Image).
A
Drawable
is an abstraction of "something that can be drawn". It could be a Bitmap (wrapped up as a BitmapDrawable), but it could also be a solid color, a collection of other Drawable objects, or any number of other structures.
Related questions
0
votes
Q: What is the difference between Activity and Context in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What’s the difference between onCreate() and onStart() in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: Mention the difference between RelativeLayout and LinearLayout in Android?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
#relativelayout
#linearlayout
0
votes
Q: What is a difference between Spannable and String in Android?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
#spannable
0
votes
Q: How do I pass data between Activities in Android application?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
0
votes
Q: What is a ContentProvider in Android and what is it typically used for?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is View Group in Android? and how they are different from views?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is ADB in Android and what is it used for?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What are key features of Android 11?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
0
votes
Q: What is the latest Android Version?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
...