android: disable action bar home button -


we have file manager-like application use action bar home button "go in folder structure" action. if user @ top of folder structure, button should disabled.

we set home button when user within sub folder. when reach top folder, disable showing up.

    // update home     actionbar.setdisplayhomeasupenabled(hasparent); 

the problem button still "enabled" in user can press can see visual feedback pressed. want action bar home button disabled in case, when there no parent folder.

i tried calling setdisplayshowhomeenabled(), not disable button in stead removes home button completely.

any ideas? thanks.

did try sethomebuttonenabled()? new api level 14, have skip honeycomb tablets.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -