0
votes

I want to set left margin for Navigation Drawer, like in new play market. enter image description here

I use ActionBarDrawerToggle from android.support.v7, but I can't make margin in the left on drawer indicator. enter image description here

Is it possible?

Update: Yes, with toolbar widget I see margins. But I have another problem: This is Navigation Drawer in white color

enter image description here

But when I use

mDrawerToggle.setDrawerIndicatorEnabled(false);
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);

I see back icon in black

enter image description here

Can I make back button white programmatically? Or use custom icon only?

1
the easiest way to do it is using a transparency within the drawable.. also this might help you stackoverflow.com/a/10120562/1084764Raykud

1 Answers

0
votes

AFAIK, they have used toolbar instead of action bar. In playstore as well as play music. in toolbar, it can be customized, but in actionbar, its place is by default there.