- Hybrid Mobile Development with Ionic
- Gaurav Saini
- 190字
- 2021-07-02 23:53:51
Image sizes and specifications
Ionic resources have some specification of the source image of the icon and splash screen. Images can be either .png files, Photoshop.psd files, or Illustrator .ai files. There is a minimum size requirement for the source images for both. An icon's minimum size should be 192x192 px, and it should not have rounded corners. In case of splash screen, the minimum requirement is 2208x2208 px so that for every platform Ionic can prepare resources. The splash screen's artwork should roughly fit within a center square (1200x1200 px). Additionally, when the orientation preference configuration is set to either landscape or portrait mode, then only the necessary images will be generated.
For creating just icons or splash screen, the ionic resources command has two flags that allow you to create just icons or splash screens, not both:
$ ionic resources --icon
$ ionic resources --splash
If a proper size is not provided for the source files, this will only create resources that are less than the size of the source image. For example, there might be chances that resources for tablets or high resolution screens are not generated.
- Unity Virtual Reality Projects
- MATLAB 2020 從入門到精通
- SAS數據統計分析與編程實踐
- Unity 5.x By Example
- Unity 5 for Android Essentials
- MATLAB 2020從入門到精通
- Salesforce Reporting and Dashboards
- Getting Started with Eclipse Juno
- Unity 3D/2D移動開發實戰教程
- 軟件供應鏈安全:源代碼缺陷實例剖析
- Learning Hadoop 2
- Python編程:從入門到實踐(第3版)
- UML2面向對象分析與設計(第2版)
- Ext JS 4 Plugin and Extension Development
- PHP+MySQL Web應用開發教程