Home java NavigationView pulling the curtain

NavigationView pulling the curtain

Author

Date

Category

I created NavigationView and I can not find how to make it so that this curtain always appeared during swaype (in the right side), and not only when Schupeped from the side, where she is. In general, I want to do as in the telegram.

Maybe who knows a special method or attribute in XML?


Answer 1

Fun OpenDrawer () {
    VAL MDRAGGER = javaclass.superclass? .getdeclaredfield ("MLEFTDRAGGER")
    MDRAGGER? .ISAccessible = True
    Val Draggerobj = Mdragger !!. Get (this) AS ViewDraghelper
    Val MedgeSize = draggerobj.javaclass.getdeclaredfield ("MedgeSize")
    MedgeSize.isaccessible = True.
    Val Edge = MedgeSize.getint (Draggerobj)
    Log.i ("Drawer", "EDGE $ {edge}")
    MedgeSize.Setint (Draggerobj, Edge * Edge)
  }

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions