문제

I see some kind of action bars 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" />
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top