drawable tag

5 questions


1 answers
110 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
144 views
0

1 answers
109 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
106 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
120 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...

2 years ago

© 2024 OneMinuteCode. All rights reserved.