Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change ActionBar Home/Up Arrow Icon

I noticed that with the new Google apps, they are updating the little Home/Up icon to not be the arrow, but three little lines (at least on Android 4.2).

enter image description here

How are they accomplishing this? I am not seeing an API for it in the ActionBar...

like image 771
xbakesx Avatar asked Jun 05 '13 22:06

xbakesx


1 Answers

It's called an ActionBarDrawerToggle and is intended to be used with the DrawerLayout.

You can find a sample implementation here and if you are only interested in the icons: you can download them from here.

like image 145
Ahmad Avatar answered Sep 22 '22 20:09

Ahmad