微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > CDD文档建议Android 5.0设备不应该包括Menu物理按键

CDD文档建议Android 5.0设备不应该包括Menu物理按键

时间:10-02 整理:3721RD 点击:
Google认为android 5.0设备不应该有实现menu功能的专用物理按键;若
targetSDKVersion > 10的旧设备已有menu按键,那么action bar上overflow 菜单有
三点需要遵循的规定。
原文摘抄如下:
The Menu function is deprecated in favor of action bar since Android 4.0. Therefore the
new device implementations
shipping with Android 5.0 MUST NOT implement a dedicated physical button for the Menu
function. Older device
implementations SHOULD NOT implement a dedicated physical button for the Menu function,
but if the physical Menu
button is implemented and the device is running applications with targetSdkVersion >
10, the device
implementation:
● MUST display the action overflow button on the action bar when it is visible and the
resulting action overflow
menu popup is not empty. For a device implementation launched before Android 4.4 but
upgrading to Android
5.0, this is RECOMMENDED.
● MUST NOT modify the position of the action overflow popup displayed by selecting the
overflow button in the
action bar
● MAY render the action overflow popup at a modified position on the screen when it is
displayed by selecting
the physical menu button
另外,Google CDD文档对于HOME, RECENT,BACK这三个navigation keys有一些design
rules说明。如果违反可能会导致CTS Fail,建议阅读CDD文档7.2.3小节。
Google CDD文档下载地址:
http://source.android.com/compatibility/downloads.html(复制到浏览器打开)

签到专营帖

签到专帖

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top