Is possible to increase the size of ActionBarDrawerToggle (Drawer menu)?

后端 未结 4 419
梦毁少年i
梦毁少年i 2021-01-20 09:28

I followed ActionBarDrawerToggle GUIDE

And I know how to show the icon of drawer on Action Bar by using drawerImageRes in this.

p

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 10:08

    I found the answer, I need research about Action Bar first.

    Add this :

     
    

    It worked!

    p/s : According to Iconography, define height matched the specification for the action bar icons, which is 32 x 32 dp.

    mdpi - 32 dp = 32 px

    hdpi - 32 dp * 1.5 = 48 px

    xxhdpi - 32 dp * 2 = 64 px

    Extra reference

提交回复
热议问题