Questions tagged [android-mipmap]
36 questions
58
votes
3 answers
What's mipmap-anydpi-v26 in res directory in Android Studio 3.0?
In Android Studio 3.0, once we create a project, a folder named mipmap-anydpi-v26 is automatically created in the res directory. What actually does it do? Why do we need it? How will we utilize it for development purposes?
Also, there are two XML…

0xAliHn
- 18,390
- 23
- 91
- 111
5
votes
1 answer
minSdkVersion 26 or later and just with mipmap-anydpi containing ic_launcher icons
I wonder, when my new project is minSdkVersion 26 (or later), that I can safely delete these mipmap-*dpi folders and their content ic_launcher icons, and then simply with mipmap-anydpi (renamed from mipmap-anydpi-v26) folder containing vector icons…

hata
- 11,633
- 6
- 46
- 69
5
votes
0 answers
Night Mode specific Mipmaps
I am using the DayNight theme in my app. I know that most of the values can be modified to support this by using the "-night" tag ( like, drawables-night and colors-night). I tried the same for mipmap (mipmap-night) and it did not work. Is there a…

Aakaash Jois
- 288
- 4
- 17
4
votes
1 answer
Android: Add shadow to mipmap icon launcher
Hello can someone show me how to add shadow to the icon launcher in android ?
I have the following mipmap launcher icon:
anydpi.xml

Mervin Hemaraju
- 1,921
- 2
- 22
- 71
4
votes
0 answers
What is application-icon-65534 in android? How does it work?
When I ran the command aapt dump badging my_apk.apk , I can find the application icons for different screen…

Marvin
- 1,726
- 1
- 17
- 25
3
votes
2 answers
Android icon mipmap value not working on button
I am trying to get a button with an image working on Android. I tried the following:
3
votes
1 answer
FCM - When setting icon in meta data, should I use the mipmap folder?
To set a default icon with FCM we can add a meta tag in the Android manifest. Mine currently looks like below because I'd like to use my application's icon as the notification icon when receiving push notifications:

j2emanue
- 60,549
- 65
- 286
- 456
2
votes
0 answers
Not have drawable-mdpi, drawable-hdpi, drawable-xhdpi, drawable-xxhdpi
WorkSpace:Android Studio
I have 35 images.
I have realized that I have drawable (but not have "drawable-mdpi, drawable-xhdpi..") folder and also there are "mipmap-mdpi.." folders.
I put my images to the simple drawable folder. --> It gives me…

Rashad Nasirli
- 457
- 3
- 16
2
votes
1 answer
Support the glGenerateMipmap() function in OpenGl ES 2.0
In the Khronos documentation support for the glGenerateMipmap(GLenum target) function starts with OpenGL 3.0. Why then does this function also exist in the GLES20 class?:
GLES20.glGenerateMipmap(GLES20.GL_TEXTURE_2D);
Or does OpenGL ES 2.0 also…

alexrnov
- 2,346
- 3
- 18
- 34
2
votes
3 answers
I only got one mipmap directory. (xhdpi,mdpi,xxhdpi etc are missing)
When i implement an ImageView the quality is very low and i cant choose between mipmap folders (xhdpi,mhdpi,xxhdpi etc.). The images are all in one directoy so i cant define in with src or background.
Here a picture of my res directory
How can i…

King Bufo
- 181
- 1
- 13
2
votes
0 answers
How to check device build configuration, for android:roundIcon support programmatically?
The new API 7.1 now support round Icons
We can create both versions circular and square on AndroidManifest, but how to know if the device accepts android:roundIcon?
To use programmatically R.mipmap.ic_launcher or R.mipmap.ic_launcher_round
I used…

Gabriel Pereira
- 580
- 5
- 9
1
vote
2 answers
App Icon displayed only in API21 but fails in other api's
I have this code in my Manifest file. The problem that I'm facing is that the icon is being displayed only in Android Lollipop (Api21, Asus Nexus Tab). I've tested in Oreo (Oppo A3S)and Android P (Samsung Galaxy S10+) but the icon is not being…

Anirudh Ganesh
- 446
- 4
- 22
1
vote
1 answer
Notification not show icon in case of using mipmap
I am handling FCM and Add these metadata to define icon and color for Notification when i use mipmap icon it does not work and display filled rectangle
when I use drawable image it is being displayed

Mahmoud Mabrok
- 1,362
- 16
- 24
1
vote
0 answers
it is possible to chooce the mipmap size in android
When I choose a mipmap to display, it displays the big size mimap.
I want to know if it is possible to choose the small mipmap.
I want to specify the size of mipmap to display.
Thank you.

Boris
- 99
- 1
- 13
1
vote
0 answers
Mipmap launcher icon in Oreo not working
As a rule of thumb launcher icon are under the mipmap res folder, but now with Oreo update it doesn't work, I get the default android icon instead of my launcher icon.
Looks like I have to put foreground and background asset under all drawable…

denis_lor
- 6,212
- 4
- 31
- 55