Ionic Series--Modify app icon and start page

Source: Internet
Author: User

1. Create the Resources folder under the root directory of the project.

2, in the folder are put Icon.png (app icon, minimum 192x192px, without rounded corners ), splash.png (Start screen, min 2208x2208px, middle area 1200x1200px ) (Can be PNG, PSD, AI)

3. In cmd, enter the folder where the project is executed:

Ionic Resources--icon Ionic Resources--splash

4. This is true in the config file in the project

<platform name= "Android" >  <icon src= "resources\android\icon\ Drawable-ldpi-icon.png " density=" ldpi "/>  <icon src=" resources\android\icon\ Drawable-mdpi-icon.png " density=" mdpi "/>  <icon src=" resources\android\icon\ Drawable-hdpi-icon.png " density=" hdpi "/>  <icon src=" resources\android\icon\ Drawable-xhdpi-icon.png " density=" xhdpi "/>  <icon src=" resources\android\icon\ Drawable-xxhdpi-icon.png " density=" xxhdpi "/>  <splash src=" resources\android\splash\ Drawable-land-ldpi-screen.png " density=" land-ldpi "/>  <splash src=" resources\android \splash\drawable-land-mdpi-screen.png " density=" land-mdpi "/>  <splash src=" Resources \android\splash\drawable-port-ldpi-screen.png " density=" port-ldpi "/>  <splash src=" Resources\android\splash\drawable-port-mdpi-screen.png " Density= "port-mdpi"/>  <splash src= "resources\android\splash\ Drawable-port-hdpi-screen.png " density=" port-hdpi "/></platform><icon src=" resources\ Android\icon\drawable-xhdpi-icon.png "/>

5, because in the run time to upload pictures, so need to network




Ionic Series--Modify app icon and start page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.