![]() Build the application so that the newly added icon image comes in Application Icon dropdown.Include the images in your project and make sure that the Build Action Property of the image is set to AndroidResource.Copy the icon images of same size of icon.png in all the drawable folders (namely drawable, drawable-hdpi, drawable-xhdpi). ![]() Similar to iOS project, the Project created by Xamarin Forms template in Visual Studio automatically adds icon images, which looks like following when we execute the application without any change:įollow these steps in order to change the default icon image to your application icon: This is how the icon and splash screen of my application looked after I updated them: Repeat step 2 & 3 from the above mentioned steps.Copy the splash screen images of same size and resolution as per the Xamarin splash screen images present in Resources folder (I am unable to figure out yet why it doesn’t take the splash screen images from LaunchImages section of Asset Catalog ).Add the Icons images as per the sizes mentioned in the AppIcons section.Create a new Asset Catalog by right clicking on Asset Catalogs and selecting option Add Asset Catalog from the popup menu.Remove LaunchScreen written in Launch Storyboard option of Universal Icons section in ist.Delete default icons and splash screen and rename your icons and splash screen images same as the default ones.Copy the icons and splash screen images of the same size and resolution as per the default icons and splash screen images provided by project template, present in Resources folder.There are two ways to change the icons and splash screen of iOS application: First Way ![]() The file which contains all the information about iOS application configuration is ist and the section Universal Icons contains all the information about icons and splash screen. The Project created by Xamarin Forms projects template in Visual Studio automatically adds icon and splash-screen images, which looks like the following when we execute the application without any change: The only place to configure the app icons and splash screens (for iOS & UWP not Android) is platform specific project as the implementation for each platforms differs. This post will mainly cover how to do it in Visual Studio, however similar steps can be followed in Xamarin Studio also. Sometimes things seem more confusing than we think, like setting up the app icons and splash screen in Xamarin Forms iOS application so I thought why not document this in a single place for all 3 platforms (iOS, Android & UWP).
0 Comments
Leave a Reply. |