drawable tag

5 questions


1 answers
97 views
0
Is getResources().getDrawable() deprecated in API22?

From Android API22, getResources().getDrawable() has been deprecated, so do I just need to use getDrawable()? What's changed?


1 answers
130 views
0

1 answers
92 views
0
mipmap and drawable folders

I'm using Android Studio version 1.1. I saw it while making a new projectIn this way, only the mipmap folder contains a different DPI, but there are no files in the drawable folder.Should I put the re...


1 answers
92 views
0
How do I change Drawable to Bitmap?

I want to use the device wallpaper as Drawable, but when I looked at the wallpaper function, it only works as Bitmap.So I can't use Wallpaper Manager, so can I change Drawable to Bitmap?


1 answers
111 views
0
Time delay when switching Android screens

Loading the main screen (1.5 seconds) when running the app or switching the screen feels a little slow.Put the image in the layout background as shown in the code below There are also two images in th...

1 years ago

© 2024 OneMinuteCode. All rights reserved.