iOS Question iTabstrip and B4XDrawer

Discussion in 'iOS Questions' started by Sviluppatori Liceo Giovio, Mar 29, 2019.

  1. Sviluppatori Liceo Giovio

    Sviluppatori Liceo Giovio Member Licensed User

    When using a tabstrip placed within a b4xdrawer's centerpanel you cannot open the sliding menu using the gesture.

    Would it be possible to solve this? Tabstrip and B4XDrawer on Android have the behaviour I'm looking for, where if the slide comes from the edge of the screen it pulls open the drawer instead.

    I've attached an example to show what I'm talking about - the green area near the top of the screen is free, and the only spot where you can use the gesture to open the menu. I know it's possible to use a button instead, but I'd like the behavior of the app to be consistent across versions.
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Why aren't you using anchors?

    [​IMG]

    The only way for it to work is by leaving a larger gap between the TabStrip and the left edge. Even if it would have worked, the UX will be problematic. How will you know whether the user wants to pull the menu or switch tab?
     
  3. Sviluppatori Liceo Giovio

    Sviluppatori Liceo Giovio Member Licensed User

    I didn't use anchors just because that was an example. I'm not sure about the UX stuff, it just sort of worked on android. I'll try and see if I can find some workaround other than that since the tabstrip contains listviews and it would look quite strange
     
  4. Sviluppatori Liceo Giovio

    Sviluppatori Liceo Giovio Member Licensed User

    I fixed this by putting a small invisible panel on the left side of the screen so that if the user initiates the gesture from the very edge it will open up the menu instead. Works nicely.
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice