android-icons

Why do we (have) to use different launcher icons (xhdpi, hdpi, etc)

ぃ、小莉子 提交于 2019-12-05 15:08:33
I was wondering, why are we using different launcher icons (sizes) in android. Currently you "have" to resize your icon to: LDPI - 36 x 36 MDPI - 48 x 48 HDPI - 72 x 72 XHDPI - 96 x 96 And put them in the desired folder. But does it really matter if you would only put a xhdpi icon in your android application, and if you just leave the ldpi, mdpi and hdpi folder empty. If you try the app with this configuration (only a xhdpi icon) on a mdpi device, automatically the xhdpi icon is used (I assume the device scales the icon automatically), and it looks just normal. So what would stop us from only

App icon not being set, it is always showing default green android icon

我是研究僧i 提交于 2019-12-05 02:25:14
I have followed the following steps as suggested by tutorials and other stack overflow questions: android:icon="@mipmap/ic_launcher" in the manifest where the app icon is named ic_launcher and all the mipmaps have been appropriately replaced on basis of resolution replaced all mipmap images with the the images generated from Android Asset Studio I have selected the appropriate files in the image asset by right clicking on res. I have uninstalled the old app. Rebuilt the app the ans then run I have invalidated cache and restarted Android Studio too Restarted the mobile Added a 512 * 512 pixel

How Can Change an Application icon programmatically in android without creating shortcut?

爷,独闯天下 提交于 2019-12-04 19:09:54
I want to change an application icon directly from the program and don't want to create shortcut and update it. Some calender app changes icon everyday without creating shortcut. I read that can create activity-alias element for each of my icons in manifest. It's work for me but if I want to have 30 icons like a calender then I should have 30 activity-alias element in manifest and I do't think it's a correct way. I also read that this way works differently across devices. Can anyone help me? Vihanga De Silva You can do this in smart launcher . there is an option in smart launcher to change

What package to download for material design icons?

心不动则不痛 提交于 2019-12-04 07:57:59
If I go to https://design.google.com/icons/ and I select an icon to download, it gives me the option of downloading the 18dp, 24dp, 36dp, or 48dp version. I downloaded the 24dp package and it came with the hdpi, mdpi, xhdpi, xxhdpi, and xxxhdpi images. So I'm not sure what the difference is from downloading the other packages of 18dp, 36dp, or 48dp. Does anyone know the difference? What would be the best one to download to have the best compatibility across the majority of android devices? So I'm not sure what the difference is from downloading the other packages of 18dp, 36dp, or 48dp. If you

Can I change my Android app icon and name in later release?

邮差的信 提交于 2019-12-03 17:06:35
问题 This is going to sound stupid in a way, but I want to know if it is possible to change the application logo (icon) and Android name in my subsequent releases? Say, today I push my app in the Android market, and tomorrow I want to change the logo/icon (I know I "should" not do this), but is it possible to do so? Also, what about the application name? Thanks 回答1: Yes, you can change the name and logo whenever you want by changing android:label and android:logo attribute of your application tag

Align an icon with the Toolbar icon - Android Material Design

僤鯓⒐⒋嵵緔 提交于 2019-12-03 11:58:11
In the new Material Design (using AppCompat), I am trying to align some action icons with the drawer icon of the new toolbar. Something like: I think I am looking in all the metrics correctly... Touch Target Size The problem is that I can't perfectly align it, because after that left padding of 16px, the icons should start, but the icon itself has also some "padding" (icon from material github), like: Maybe is silly but I do not know what I am missing. How can I take into account the padding inside the image to properly align it? I have same problem with aligning radio buttons or checkbox with

Legacy icon does not show when using adaptive icon

岁酱吖の 提交于 2019-12-03 06:32:57
问题 I just converted my app icon to be compatible with android o's adaptive icons using the Image Asset Studio in android studio when I run my project now on my device running API 25 I get the default green android icon and not my icon. this is my manifest <application android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" android:allowBackup="false" android:roundIcon="@mipmap/ic_launcher_round" tools:replace="allowBackup" tools:ignore=

Material Design icon colors

牧云@^-^@ 提交于 2019-12-03 06:22:31
问题 Which color should be the "dark" material icon ? On the official documentation (https://www.google.com/design/spec/style/icons.html#icons-system-icons at the bottom) it is 54 % black (grey) , but all downloads of the material icons are either white or 100 % black . Also on the new official site https://www.google.com/design/icons/ you can download either white or black, but not "grey"! So I have to set 54 % to all downloaded icons for myself? Or did I miss something? 回答1: I am too late to

Can I change my Android app icon and name in later release?

こ雲淡風輕ζ 提交于 2019-12-03 06:10:31
This is going to sound stupid in a way, but I want to know if it is possible to change the application logo (icon) and Android name in my subsequent releases? Say, today I push my app in the Android market, and tomorrow I want to change the logo/icon (I know I "should" not do this), but is it possible to do so? Also, what about the application name? Thanks GabrielAtan Yes, you can change the name and logo whenever you want by changing android:label and android:logo attribute of your application tag in AndroidManifest.xml file . But, you can't change Package name once you uploaded app on play

“Android Asset Studio” adds extra space when I upload my .png icons, but doesn't when it uses its internal cliparts. Why?

♀尐吖头ヾ 提交于 2019-12-03 02:20:00
问题 I'm trying to create some nice icons for some Android APP I'm dealing with, and someone directed me to the "Android Asset Studio", that nice online tool which creates full packs of icons ready to be deployed onto my (horridly) fragmented Android project res folder. I just went to its URL to create my icons: EDIT: [broken URL as of Oct 2016. Apparently everything has moved into Android Studio] http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-actionbar.html#source.type=image