I am implementing Android native action bar in my app. On Android developer website of native action bar, it says ActionBar APIs were added in Android 3.0 (API level 11).
My App target is:
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="13" />
I run my app on the phone Samsung Galaxy S2 GTI9100, Android version 4.0.3 (Ice Cream Sandwich) , the overflow part(right-most drop down menu) of native action bar however is not showing, instead it use the physical touch button to show the menu.
Why? I am testing my app on Android 4.0.3 platform, why native action bar is not working? though the android developer website said it is added in Android 3.0 (API level 11)... and how to make it working?(display 'overflow' drop down menu on actoin bar instead of physical menu button)
Change your targetSdkVersion to 14
I think you should add HOLO theme to your activity or application if android version is 11 or greater. For example
@Override
protected void onCreate(Bundle savedInstanceState) {
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
setTheme(android.R.style.Theme_Holo);
}