1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question B4XDrawer sliding menu issue

Discussion in 'Android Questions' started by Nick McCulloch, May 5, 2019.

  1. Nick McCulloch

    Nick McCulloch Member Licensed User

    I deleveloped an app wil sliding menu enabled and it works file on my HUAWEI P20 phone. But, a friend of mine installed it onto a Samsung S10. On the Samsung the sliding menu title and hamburger are obscured. Im not sure if there is anything i can do to adjust that . Has anyone come across this? 1st image s from Samsung, 2nd from my phone..
    Is there any control over the top notifications and Title bar in terms of height?
     

    Attached Files:

  2. klaus

    klaus Expert Licensed User

    Without seeing your layout and code it's almost impossible to give a concrete advice.
    It would be better to post a small project showing the problem to get concrete help
     
  3. Nick McCulloch

    Nick McCulloch Member Licensed User

    code is too large to upload. its based on the B4xDrawer sample code. if anyone in forum has a samsung S10 , maybe they could install it onto their phone and validate that I have the same condition that i show in the screenshots shown.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Try to add this to the manifest editor:
    Code:
    AddApplicationText(<meta-data android:name="android.max_aspect"
        android:value=
    "2.1"/>)
     
  5. Nick McCulloch

    Nick McCulloch Member Licensed User

    Ok made that change and I am waiting for feedback from my friend with Samsung S10. But, i grabbed this screenshot from my phone and even on mine the positioning seems "off" compared to similar app to the right. See attached. Are there any further adjustments I can make?
     

    Attached Files:

  6. Erel

    Erel Administrator Staff Member Licensed User

    You are using AppCompat, right? You can increase the action bar height with the designer.
     
  7. Nick McCulloch

    Nick McCulloch Member Licensed User

    Is that the correct way of making that adjustment?
     
  8. Erel

    Erel Administrator Staff Member Licensed User

  9. Nick McCulloch

    Nick McCulloch Member Licensed User

    I think i have it fixed by adjusting height in the designer. I guess i had assumed that the Toolbar area was of a standard height. That was a bad assumption. Thanks again for all your help.
     
  10. techknight

    techknight Well-Known Member Licensed User

    Outside of AOSP, there is no such thing as standard, which kills me.
     
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