开发者

Action bar like in Google docs and picassa tool apps

I see some kind of action bar开发者_开发问答s in some pre-honeycomb apps. For example in Google docs and picassa tool apps. Some non-google apps have the same action bar too. For example twitter. This bars looks similar. Is there some control or widget?


The Action Bar re-uses items from the Options menu and was introduced in the 3.0 SDK. You enable it in your app by following the instructions here.

For a "pre-honeycombe" app you will still need to build against the 3.0 SDK; increase the targetSdkVersion value in your manifest to "11" and set the minSdkVersion to the lowest Android version you are supporting. For example:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜