Google Glass Timeline item actions: What are the icon dimensions?

二次信任 提交于 2019-12-24 15:27:49

问题


What are the native image dimensions of the icons specified in 'iconUrl' for a custom timeline item action?

This doesn't appear to be documented yet.


回答1:


The menuItems's icon should be 50 x 50 pixels and white on transparent according to our documentation on UI Guidelines:

Follow these guidelines when designing your menus:

  • If you specify an icon, use a 50x50 pixel image.
  • Limit display names to a few words if possible.
  • Use the default icon and display name for built-in menu items unless you are using the menu item for something very different.



回答2:


Here is a brief list of the specs to guide your development:

Screen aspect ratio
    16x9
Screen resolution
    640 x 360 pixels
Share contact icon size
    640 x 360 pixels
Menu option icon size
    50 x 50 pixels
Supported media format
    Container: MP4
    Video: H.264 baseline and H.263 baseline
    Audio: AAC and MP3

source




回答3:


This is the default css stylesheet used by the timecards :

https://mirror-api-playground.appspot.com/assets/css/base_style.css

It contains the dimensions of all the elements that can be used in the timecard.



来源:https://stackoverflow.com/questions/17707691/google-glass-timeline-item-actions-what-are-the-icon-dimensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!