[Android] Action Bar - Styling & Settings

  • 0
* Design
Navigation with Back and Up | Android DeveloperStyling the Action Bar | Android Developer
Download - Action Bar Icon Pack | Android Developer
Design Pattern - Action Bar | Android Developer


* Settings
- res/menu/filename.xml        // The filename will be used as the resource ID

- showAsAction: 決定這一項 item 在 ActionBar 中是否顯示
 android:showAsAction=["ifRoom" | "never" | "withText" | "always" | "collapseActionView"]

Reference:
Menu Resources | Android Developer
[Android] Action Bar Basic - with Android 2.x (v7 appcompat library) | Andro Tips
Android Action Bar Style Generator

沒有留言 :

張貼留言