Monday, April 8, 2013

[android help] How to use sliding menu toggle() from fragment

android - How to use sliding menu toggle() from fragment - Stack Overflow




















In my application i have used sherlock actionbar with sliding menu.


from Sherlock Fragment activity i can use the sliding menu toggle of as like this...



switch (item.getItemId()) {

case android.R.id.home:
toggle();
break;}


but now i am trying to hide the actionbar and want to use the actionBar menu button from fragments..




i have hide the actionbar but how can i use the toggle() from fragments?


can anyone give me idea that how can i use android.R.id.home action from fragment instead of fragmentActivity?





















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...