This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dual sided App Drawer, Left side works - Right doesn't  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've made an app drawer to work both on the left and the right, although I've set up the functions to work perfectly for the left app drawer. I can't figure out how to set up the right drawer.

Basically, I want the same button that is added on the left of the actionbar to appear on the right, and on click the right drawer appears. In the same way that the left app drawer operates? How do I fix?

Code:

MainActivity




activity_main.xml

 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!