zoukankan      html  css  js  c++  java
  • meteor icons & splash配置

    ionic resources

    http://ionicframework.com/docs/cli/icon-splashscreen.html

    用一条指令生成ionic生需Icons & splash,拷贝至meteor项目,使用的下面的配置。
    App.info({
    id: 'xxx.xxx.xxxx',
    name: 'xxx',
    description: 'xxx',
    author: '---',
    version: '0.3.2',
    email: '9830131#qq.com',
    website: 'http://www.xxxxx.com'
    });

    App.icons({ // iOS
    'iphone': 'resources/icons/icon-60.png',
    'iphone_2x': 'resources/icons/icon-60@2x.png',
    'iphone_3x': 'resources/icons/icon-60@3x.png',
    'ipad': 'resources/icons/icon-76.png',
    'ipad_2x': 'resources/icons/icon-76@2x.png',
    // Android 'android_ldpi': 'resources/icons/drawable-ldpi-icon.png', 'android_mdpi': 'resources/icons/drawable-mdpi-icon.png', 'android_hdpi': 'resources/icons/drawable-hdpi-icon.png', 'android_xhdpi': 'resources/icons/drawable-xhdpi-icon.png' }); App.launchScreens({ // iOS 'iphone': 'resources/splash/Default~iphone.png', 'iphone_2x': 'resources/splash/Default@2x~iphone.png', 'iphone5': 'resources/splash/Default-568h@2x~iphone.png', 'iphone6': 'resources/splash/Default-667h.png', 'iphone6p_portrait': 'resources/splash/Default-736h.png', 'iphone6p_landscape': 'resources/splash/Default-Landscape-736h.png', 'ipad_portrait': 'resources/splash/Default-Portrait~ipad.png', 'ipad_portrait_2x': 'resources/splash/Default-Portrait@2x~ipad.png', 'ipad_landscape': 'resources/splash/Default-Landscape~ipad.png', 'ipad_landscape_2x': 'resources/splash/Default-Landscape@2x~ipad.png', // Android 'android_ldpi_portrait': 'resources/splash/drawable-port-ldpi-screen.png', 'android_ldpi_landscape': 'resources/splash/drawable-land-ldpi-screen.png', 'android_mdpi_portrait': 'resources/splash/drawable-port-mdpi-screen.png', 'android_mdpi_landscape': 'resources/splash/drawable-land-mdpi-screen.png', 'android_hdpi_portrait': 'resources/splash/drawable-port-hdpi-screen.png', 'android_hdpi_landscape': 'resources/splash/drawable-land-hdpi-screen.png', 'android_xhdpi_portrait': 'resources/splash/drawable-port-xhdpi-screen.png', 'android_xhdpi_landscape': 'resources/splash/drawable-land-xhdpi-screen.png' });

      

  • 相关阅读:
    centos7启动redis命令
    临时和永久关闭Selinux
    坑人的Mysql5.7 (默认不支持Group By语句)(转)
    修改docker容器参数
    FastDFS常用命令
    SpringBoot集成RabbitMQ消息队列搭建与ACK消息确认入门
    git忽略.idan目录
    springboot2.x接口返回中文乱码
    解决ssh连接linux服务器速度慢
    基于SSD固态硬盘的数据库性能优化
  • 原文地址:https://www.cnblogs.com/sban/p/4725199.html
Copyright © 2011-2022 走看看