Default Settings launcher icon - android

I'm at a loss trying to find the default icon used for the Settings application launcher under \android-sdk\platforms\android-10\data\res\drawable-mdpi\
What name does this icon have? can I use it in my application? here it is:
2.2:
4.0:

If you're looking for a "settings" button for your app, you can include the system icon in your xml using #android:drawable/ic_menu_preferences. It won't get you the nice, colored version you included above, but makes a perfect settings icon in your menu or ActionBar.

I described way you can retrieve full resolution icon of every app installed on your phone/pad here: Getting App Icon in Android.
So all you need is find package name of this app.
It's not as simple as retrieving standard android icon from android resources, but however it can help you.

Related

Android app icon foreground defaulting to android logo

I just added an icon to my app using the Android Image Asset Studio using an xml file as the foreground and a plain color as a background. Now in the testing I've done with it, the background of the icon is displaying as the correct color, but the foreground is just the white android logo. I have deleted the app off my phone and reinstalled it in case it was cached as the previous logo, and I don't really know what else to do with it to test it or make it show up correctly, especially since the background changed but the foreground didn't. Any help would be appreciated.
Github link:
www.github.com/jollygreenegiant/WannaCook
Just rename your desired mipmap icon's resource into any name different form ic_launcher
Also make sure you changed the icon name in AndroidManifest.xml
I'm assuming you're testing on API 26+ (not specified in question).
In that case, the Adaptive Icon assets found in your repo (.../res/mipmap-anydpi-v26/) are overriding the PNG icons you hoped to use. This explains why renaming your icon files would resolve the issue, as mentioned in another answer. You can simply remove those files, to correctly resolve the issue. (Or, look into creating your own adaptive icon as described at the link above.)
Your app icon is still mipmap/ic_launcher, and it's foreground is set to the white android icon set by the Android Studio. You should change the code of foreground.

Partially changed launcher icon of android app

I have completed my first app and having problem with launcher icon.
I have repalced the default ic_launcher icon in mipmap folder with my own icon.
When i install the app, it shows the correct icon in phone's menu. But when i open application manager in phone , there it shows the default icon.
Also when i open shareit or xender there also my app has default icon.....
I have spent two days searching for answer and tried all suggestions..But none of them are working.....Please give me a solution....
It is bad practice to just overwrite the icon this way. It is advisable to edit the AndroidManifest.xml file. In the application tag you will find android:icon="#drawable/ic_launcher", change it to the icon you want that is placed in the drawable folder. That way it will be applied everywhere.
For more information: How to change the launcher logo of an app in Android Studio?

How to correct Android icon mismatch when using activity-alias to dynamically change launcher icon?

I've successfully implemented dynamic Android launcher icon switching functionality in my app using multiple activity-aliases with different icons and labels associated with them as detailed in this Chainfire blog post on the topic:
http://www.chainfire.eu/articles/133/_TUT_Supporting_multiple_icons_in_your_app/
And in this StackOverflow answer:
https://stackoverflow.com/a/15249542/1007714
This solution, however, only works for the launcher icon found in the app tray and on the homescreen. The problem I now have is that the icon used at the OS level (such as for multi-tasking, the uninstall popup, or the Application Manager listing) remains the original or becomes the default generic Android icon if you haven't set one at the application level in the manifest.
Has anyone found a solution to this, or does everyone who uses this solution just tolerate a mismatch (or absence) in the icon at the OS level?

Can I use Eclipse to make an icon that is 512x512 (for Google Play)?

I created my own icon for my app using Eclipse (Manifest->Application->Icon etc) and this created the same icon for all different phone screens. However, I now need that same icon for the Google Play market and it needs to be 512x512. Is it even possible to enlarge that icon using Eclipse?? Thanks.
Eclipse creates it in your project root, name: ic_launcher-web.png or something like it.
Not that I know of, but you can use Android Asset Studio
I used it to make plenty of action bar icons, notification icons and just general icons. I think it is a great tool all android developers should be aware of :)

Make android app icon available to other applications

I would like my application icon to be available to other applications.
I understand this is a bit unclear so will try explain:
Applications such as Astros program manager lists applications with their icon. For all apps this is the correct icon as on the launcher, except mine which is displaying the standard android icon. I have set my icon as the manifest using: android:icon="#drawable/runninglate"
This works on the launcher but Astro still shows the default icon from when I create the project (which I deleted a long time ago). I have also tried renaming my icon file to icon.png in case this was a standard. This also failed to work.
I am clearly doing something wrong, or have missed a setting somewhere, can some one point me in the right direction.
Make sure you have your icon in the <application> element, perhaps in addition to having it in the <activity> element of the activity that should appear in the Launcher.
Seems it was a caching issue. I re-flashed my phone today for an update and the correct Icon was shown using the same APK as I was using when it wasn't showing. Maybe a clear data on the displaying app was all that was required!

Categories

Resources