B4J Question [ABMaterial] Line separating NavigationBar from page content.

MichalK73

Well-Known Member
Licensed User
Longtime User
Hello.

How to remove NavigationBar separating shadow from page content?

line.png

My theme :
B4X:
    MyTheme.AddNavigationBarTheme("nav1theme")
    MyTheme.NavigationBar("nav1theme").TopBarBackColor = ABM.COLOR_TRANSPARENT
    MyTheme.NavigationBar("nav1theme").TopBarForeColor = ABM.COLOR_blue
    MyTheme.NavigationBar("nav1theme").TopBarWavesEffect = ABM.WAVESEFFECT_none
    MyTheme.NavigationBar("nav1theme").TopBarTitleColor =ABM.COLOR_blue
    MyTheme.NavigationBar("nav1theme").TopBarSubDividerColor = ABM.COLOR_TRANSPARENT
    MyTheme.NavigationBar("nav1theme").TopBarWavesCircle = False
    MyTheme.NavigationBar("nav1theme").TopBarBold = True
 

alwaysbusy

Expert
Licensed User
Longtime User
This will be in 3.75 (should be released this week). It was WISH #567 in the feedback app:

Needed three ZDepts to do this in the theme:

tmpTheme.NavigationBar("nav1theme").TopBarZDepth = ABM.ZDEPTH_REMOVE
tmpTheme.NavigationBar("nav1theme").SideBarZDepth = ABM.ZDEPTH_REMOVE
tmpTheme.NavigationBar("nav1theme").LogoZDepth = ABM.ZDEPTH_REMOVE
 
Upvote 0
Top