答案 0 :(得分:3)
ActionBarDrawerToggle(<Activity>, <DrawerLayout>, R.drawable.main_icon, 0, 0);
drawable/main_icon.xml
:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/your_icon" android:left="10dp" />
</layer-list>
然后调整边距android:left
,android:right
等。