You can optionally select density (For Android) or width and height (For iOS and Windows).Īnd that’s all. With an Android project open, simply right-click the project node in the Solution Explorer and choose ' Edit User Interface Files in Android Studio ': Behind the scenes, Elements will create a wrapper Android Studio project folder with the relevant files, and then launch the Android Studio application (provided it is installed ). Once that is done, right click on config.xml and click on view code (Can also be done with F7) Now here, inside every platform attribute, you will have an icon attribute. To do so, you need to see the actual XML code and make changes there.įirst, add the icon image in your application’s res folder under the platform that you are using. However this doesn’t show where the icon should be set. You may also need to add the following namespace declaration on the root element in the XML file if its not already there: xmlns:tools. It shows all the important configurations such as plugins, version, name of the application etc. 1 menu item will be the root while the other 3 menu items will be grouped under a single Menu. 6- Now we can add android menu items with icons, we will have 4 menu items. So, why is it tricky? That is because Visual Studio TACO ( Tools for Apache COrdova) shows the config.xml file differently than you usually see XML file. Choose the icon that you want by clicking on the android icon, click Next button and then click Finish. However, while using Apache Cordova in Visual Studio environment, it becomes slightly tricky. Setting app icon is usually very straight forward task in application development, and thus should not require a dedicated blogpost for this.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |