Reputation: 5642
Is there an API to increase the width/sensitivity of pulling the Navigation Drawer from the left side of the screen? For ex: as of now, I need to press my finger closely to the left of the screen to pull the drawer out. I would like to increase this sensitivity.
Upvotes: 1
Views: 1594
Reputation: 1076
There is no need to do that since the users could easily pop open the Navigation Drawer by pressing the title area iff you implement the DrawerListener
interface or the more convinient ActionBarDrawerToggle
class to provide the 3 horizontal line icon indicating there is Navigation Drawer being present. Then you just override the onPostCreate()
method in your Activity and call ActionBarDrawerToggle.syncState()
method to allow users to open the drawer by pressing about the title area. Click here for more info on how to achieve that. Hope this helps
Upvotes: 0
Reputation: 12605
There is a solution. You can Set drag margin for your Navigation Drawer
Check this link Set drag margin for Android Navigation Drawer
Upvotes: 3