Google: 再見 Menu 按鍵

Google 在 Android Developer Blog 發表了一篇題為 “Say Goodbye to the Menu Button” 的文章。

文章主要是提醒開發人員,隨著 Android 4.0 手機陸續推出,手機上不會再有 Menu 按鍵。App 內的 Menu 亦會逐漸淡出,取而代之的是 Action Bar。

In order to provide the most intuitive and consistent user experience in your apps, you should migrate your designs away from using the Menu button and toward using the action bar.


是 Action Bar, 不再是 Menu
Android Action Bar
Google 一再強調這並不是 Menu Button, 而是 Action Bar/Action Overflow Button。在 Action Bar 上,視乎 App 的需要,會有一個個不同的按鈕操作,例如有:搜尋,分享,儲存等。而當 Action Bar 空間不足時,就會出現”三點”按鈕,也就是 Action Overflow Button。

you should stop thinking about your activities using a “menu button” at all. Your activities should provide buttons for important user actions directly in the action bar (or elsewhere on screen).

改善 舊Apps Menu 按鈕
Overflow

文章亦講述在 Android 4.0 系統下操作舊 Apps 時,會在下方的系統按鈕右方出現 “三點” 按鈕。這是 Android 新系統的兼容方式,以讓舊 Apps 可以在新系統下可完整操作。但 Google 強調這只是兼容方式,開發商應改善 Apps並改用 Action Bar 取代 Menu,讓用家有更好的操作體騇。

This is a compatibility behavior for legacy apps designed to ensure that apps built to expect a Menu button remain functional. However, this button doesn’t provide an ideal user experience… So you should update your legacy apps to remove the action overflow from the navigation bar

文章亦有提及,在不適用時,如何隱藏 Action Bar。

各位 Developers 可以到 Developer Blog 查看詳情,內裏亦有指引講述各個做法。
http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html

發佈留言