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
Post a Comment