This wizard appears when creating new android projects.
I would like to change the app icon of an android project.
Editing my new-version icon image into different density manually is kinda inefficient, therefore I want to open this wizard in eclipse again.
How am I supposed to do it?
the image of the wizard:
Right click on your project.
Select New and then other.
In the type filter text section type in android icon set.
Select Android Icon Set from the result and click on Next.
You can create your launcher icon again there!
Icon creation wizard
Select your project
Ctrl+n
Android Icon Set
Related
I am new to xamarin and android dev. I have created my own app icon. On device install, the icon gets underlaid by a white circle and my icon gets smaller. I use romannurik homepage, here is a screenshot from my homescreen:
I want my icon to be like the icons marked in green. My icon gets like the ones marked in red.
My question is: how can i create an icon like the ones marked in green
SushiHangover is correct, but the better way to do it is to use adaptive icons. The easiest way to deal with Android icons is to download Android Studio. Once that is done, then create a new project. It doesn't matter what the project is.
After it loads and Gradle does it's initial build, in the left hand menu then right click on "res" and select New -> Image Asset. This will launch a new window.
At the top specify the "Icon Type" as "Launcher Icons (Adaptive and Legacy). Then specify a foreground layer and a background layer and hit next. Android studio will generate all the various icons you need for every version of android.
Last step is to transfer all the mipmap folders into your xamarin project and get them added through visual studio.
You should still specify the RoundIcon like SushiHangover mentioned, but if the app is installed on Android 8.0 or greater it will us the adaptive icon to match the look and feel of whatever phone it is installed on.
You are looking for "Round Launcher Icons" available in Android 7.1 and above.
1) You will need to create the various icons and place them in your mipmap-XXXX resource folders
2) Then you need to assign the RoundIcon property either directly in the manifest or via the ActivityAttribute:
[Activity(Label = "Scoreboard",
Icon = "#mipmap/ic_launcher",
RoundIcon="#mipmap/ic_round_launcher",
Theme = "#style/SplashTheme",
MainLauncher = true)]
public class SplashActivity : AppCompatActivity
{
~~~
}
See the blog post for the details:
Blog post: https://devblogs.microsoft.com/xamarin/round-launcher-icons-in-android-7-1/
I have a problem with my Floating Action Button. I want to get the same "plus" button as in google design, however, when I import the "add_white" icon from material design studio and put it into project, it is redefined to have black background which completely distorts the effect.
I show on the attached picture how the problem looks like - the image in all possible dimensions is correctly inserted in the folder, however, the android studio reads it differently.
Thank you in advance,
Grzegorz
How to fix it/ or just get the proper "cross/plus" sign to the button?
I'd recommend you to download the icon in svg format from https://design.google.com/icons/#ic_add, you can add it to Android Studio by doing a right-click on the project and selecting Vector assets, you'll be able to remove your 5 ic_apps_white_48 pngs and use the one imported.
I am trying to create circular launcher icons in Android Studio 2.2 but they keep coming out square. Has anyone else encountered this? Am I doing something wrong?
After clicking Next you should get circular launcher icon.
Previews might be misleading as they have background as the icon.
After all, if you won't get what you expect, try: https://romannurik.github.io/AndroidAssetStudio/
Hope it will help
Set the project structure to Android
For app module :-
1. Select app-> res
2. Right click on res folder, click on Image Asset
3. In Legacy tab set the shape to Circle
For wear module :-
1. Select wear-> res
2. Right click on res folder, click on Image Asset
3. In Legacy tab set the shape to Circle
Go to under "File > New > Asset Studio", then look for Foreground, Background, Legacy.
Click on Legacy and
choose "circle" from the drop-down menu under "shape".
I followed a template on android studio to create a navigation drawer app. As you know it creates an initial activity with a floating action button and the email icon in it. I just want to change it to a plus sign. Here is the problem. It turns out there is no plus sign available as the ones I can see in every single example ( There is just one I can use but then the plus sign color is green, and I want it white! ).
I followed this steps how to download Material icons , I get the icon ic_plus, and I put every single file in its correspondent folder ( drawables, drawables-hdpi... ).
Problem is when I try to use it here:
The name turns red as it can't find it. As I said, I copied all files one by one to its correspondent drawable folder. I even tried this drawable importer
but the same happen.
What am I missing? And why plus sign icon it is not shipped as default icon, as for example the e-mail icon is, as I can see it in every single app using floating action button? I use Android Studio 1.5. Thank you!
EDITED
Looks like images are correctly placed in correspondent folders because if I try to use it on menu bar, I can find it through #drawables/ . Still don't know why I can't do the same for the floating action button. Ideas?
Put your image in the drawable folder.
Use the design editor and when you click on the FAB scroll down to the src and click that little square button with 3 dots on the right side to pull up all your options. You should be able to search for the name of the icon you uploaded and select it from here.
I tried to type in my file name using text editor and it couldn't find my image either.
I'm wondering if anyone knows how to open two windows of Android Studio with both having the same project. I know you can drag tabs out, but that allows you to only edit that one file. I want two fully-featured windows with each being able to see the Project Files/Structure.
I don't want to just split the editor, I want a separate window.
I want two of these windows, with both "looking" at the same project:
I don't want another one of these windows, as I can't view the project structure and change that, and it's hard to change it to a different file in this view:
Right click on tab of the file and click "Split vertical / Horizontal"
After splitting, you can just drag one of the tab titles to the second monitor - it will open up a new window. You can then edit the same file in two separate windows
If you click and drag a file's tab out of your current window (over onto the desktop, for example), the file will open in a new window. However, this window doesn't seem to have the whole package explorer, console etc.
Although, if you click on the gear on any of the modules, you can uncheck 'pinned' mode and you'll be free to move them around your two monitors just like the window you created above.
Window -> Editor Tabs -> Split Vertically
if you don't use files tabs
If you want to split tabs of android studio project beetween monitors, you can rigthclick to tab(project, debug, terminal etc) and check the "floating mode" option.
See the image: Floating mode tab option
After that you can drag this tab between your monitors as new window.
Could you just make a copy of android studio & run it side / side? You can run different versions of android studio side/side.. Maybe that is an option.
Just drag the tab outside the current window.
right click on tab and click on windowed mode, it will open up a new window.
One hacky way of doing this (but you will not be able to save in the same project) is to make a copy of the project folder and open it in Android Studio.