0

The homeAsUpIndicator consists of icon and left-point caret (little arrow in the left of icon). For example, look gmail application for Android. This caret different in main Window and in the Settings window.

I know how change icon, but...

How can i change caret programmatically at any time?

4

1 回答 1

-1

When i need to change icon of arrow, just needed to recreate ActionBarDrawerToggle and call syncState() for it.

But thought that there is method for this like setIcon() or any the same. Cause always recreate ActionBarDrawerToggle is not good solution =/

But it still doesn't work at 2.3

于 2013-10-23T13:09:02.910 回答