android 3.0中出现在上角的ActionBarDrawrToggleButton

android 3.0中出现在上角的ActionBarDrawrToggleButton,android,android-3.0-honeycomb,Android,Android 3.0 Honeycomb,我已经使用安卓3.0API11中的android.app.ActionBar创建了操作栏。我已经使用android.support.v4.widget.DrawerLayout在布局中创建了一个NavigationDrawer 我还指定了ActionBarDrawerToggle(android.support.v4.app.ActionBarDrawerToggle)按钮在抽屉布局之间切换 但在emulator(android 3.0 API 11)上运行此功能后,ActionBarDrawe

我已经使用安卓3.0API11中的
android.app.ActionBar
创建了操作栏。我已经使用
android.support.v4.widget.DrawerLayout
在布局中创建了一个
NavigationDrawer

我还指定了
ActionBarDrawerToggle
android.support.v4.app.ActionBarDrawerToggle
)按钮在抽屉布局之间切换

但在emulator(android 3.0 API 11)上运行此功能后,
ActionBarDrawerToggle
会出现在左上角,甚至在操作栏的上角也会对齐。它应该在应用程序图标前垂直居中对齐

在emulator的更高版本中,它工作正常,垂直居中。在API 11、android 3.0上运行时唯一的问题

我只想使用这个ActionBar,而不是支持库中提供的工具栏

请帮我做这个
动作bardrawertoggle


谢谢。

ActionBar中的大多数导航模式都不推荐使用。此外,ActionBarDrawerToggle(v4)也不推荐使用。使用v7版本。我建议您使用工具栏而不是操作栏。谢谢@RafiduzzamanSonnet&Rami。我将代码更改为使用v7 appCompat ActionBar。API 11上的切换按钮可能有问题。没有人使用API 11到13。别再把时间浪费在这些测试上了。甚至源代码也不可用。如果您需要支持较旧的手机,请在API 10上进行测试。如果没有,请在API 15(所有Android 4设备)、17(Android 4.2及以上、目前全球80%的Android设备)、19(Android 4.4 KitKat)、21(Android 5棒棒糖)、23(Android 6棉花糖)上进行测试。