答案 0 :(得分:0)
因为你导入了support.V7 ActionBarDrawerToggle检查下面你会得到一个想法
android.support.v4.app.ActionBarDrawerToggle toggle2 = new android.support.v4.app.ActionBarDrawerToggle( this, drawer, R.drawable.download, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
但不推荐使用此功能 有关详情,请查看https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html