android - Make navigation drawer close for the first time run -
i have app navigation drawer. works good, navigation drawer opens automatically app starts.
i not want see navigation drawer unless swipe of click menu button.
thanks in advance!
when launch navigation drawer activity. make sure has been opened.
drawerlayout mdrawerlayout = (drawerlayout) findviewbyid(r.id.drawer_layout); ... if(mdrawerlayout.isdraweropen(gravitycompat.start)) { //drawer open }
Comments
Post a Comment