Questions tagged [android-mipmap]

36 questions
1
vote
1 answer

Correct way to use adaptive icons in api 26+

I managed to get my adaptive icons working by creating a folder mipmap-anydpi and placing suggested xml file there (https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html#studio) This worked on api 26, but broke icons…
Ilja
  • 44,142
  • 92
  • 275
  • 498
1
vote
1 answer

which mipmap folder for 7 inch tablet to display proper image size

In my project i have to make layout for both 7 inch and 10 inch tablet . I have made layout-sw600dp and layout-sw720dp respectively, and for images mipmap-xlarge-mdpi folder . now for 7" tablet which image i.e mipmap folder i need to create so…
Dharmishtha
  • 1,313
  • 10
  • 21
1
vote
0 answers

What are the issues if we use Mipmap instead of Drawables

As per this link - The mipmap folders are for placing your app/launcher icons (which are shown on the homescreen) in only My Question is : What problems one will face if the drawables are placed in mipmap instead of drawable? OR How will this impact…
AnswerDroid
  • 1,873
  • 2
  • 33
  • 52
1
vote
1 answer

Android use mipmap folder instead of drawable

I did read a lot of info about mipmap and drawable folders. Still I can't understand - what bad thing would happen, if I use mipmap folder only for all my images? Upd. Please READ the question, I know, that mipmap folder is for app icons.The…
Goltsev Eugene
  • 3,325
  • 6
  • 25
  • 48
1
vote
2 answers

Why every image I add to my app is in small size?

When I'm trying adding images to my app, the size of the image is always small - like a little icon. How can I change it? The original size of my image is big. I have no idea why the Android Studio makes it small. When I add the image I add by these…
Gilad Neiger
  • 643
  • 1
  • 6
  • 15
1
vote
1 answer

Why mipmap folder not show in suggestion of XML Android Studio?

Currently I tried to use ic_launcher from mipmap folder. As I used to with suggestions, I pressed CTRL+SPACE after @ but didn't get any suggestions for mipmap Is there any problem or I miss something to get Suggestions? Any help?
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
0
votes
0 answers

Why Image Asset - Launcher Icon (Adaptive and legacy), i.e. res/mipmap, will delete/overwrite the res/drawable with the same name?

I have an app_icon.png in res/drawable and I also want to create a launcher icon which also call app_icon. Image Asset prompts me that "same name already exist". When I finish the wizard, my app_icon.png will be deleted by the Image Asset. Any idea…
0
votes
1 answer

Can I link .png images I have stored in res/mipap to html files I have stored in android_asset, so WebView shows both text and images in an html file?

I have an Android app which uses the WebView function, it opens html files inside my app from a local host that have been stored in the android_asset folder when prompted. However, the WebView function only shows the text in the html file, it does…
0
votes
1 answer

Android ImageView @drawable options doesn't showed up

android:src="@drawable/your_image" option doesn't show up but all the other .XML file options showed up. Even after I have copied the image in the drawable folder. "@mipmap/ic_launcher options showed up instead
0
votes
0 answers

Why is EasySplashScreen icon so small (Android Studio)?

I added the splash screen with the EasySplashScreen library after I created a good portion of my app, but it seems that no matter what I do the icon remains really small. I have tried reimporting the mipmap image, and during the import process,…
0
votes
1 answer

Setting up mipmap images on ImageButton from xml array in Kotlin?

So I have an array defined in a xml values containing @mipmap icons. I am trying to get the icon int values from them and set them up on an ImageButton. But whenever I try to get the int value from them, I get 0 if I make it an 'integer-array' or…
Al Nafis
  • 127
  • 9
0
votes
1 answer

How to set a mipmap icon on Floating Action Button?

My FAB is only showing the icon when I'm using a drawable resource, but not when I'm using a mipmap resource. With a drawable resource: With a mipmap resource:
0
votes
0 answers

create circle mipmap launcher icon for all of API

I created circle icon for my app by illustrator. My icon in api 21 is circle. But it's not circle in api 27. what do I create circle in api 27?
Ehsan Kalali
  • 411
  • 6
  • 16
0
votes
2 answers

I'm trying to add to mipmap in my app I have missing files/errors but it won't let me

I am trying to fix these errors which has caused the build to fail. But I am noticing in the newest version of Studio it wont let me add the image files to mipmap to fix the problem. What should I do?
0
votes
0 answers

Why notification use the res of mipmap as smallIcon will crash system ui in Android O?

If I use the mipmap icon as smallIcon of a Notification in Android O, when notify it, the system ui will crash. But it works below O, and if I change the icon with res in drawable directory, it works as well. Although Google tell us we should place…