iOS Question Custom Items in NavigationBar

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone, I wish to do an nicer app by using some custom UI elements.
It's possibile to achieve this type of result? (specifically che horizontal list in the navigation bar)

Thanks in advance :D

News-iOS-UI-Kit.jpg
 

JohnC

Expert
Licensed User
Longtime User
You should be able to add a tab view right under the navigation bar then set the tab color to the same color as the navbar and the two will look like one.
 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
You should be able to add a tab view right under the actionbar and then set the tab color to the same color as the actionbar and the two will look like one.
Ok i just wondered if it was INSIDE the navigation bar
 
Upvote 0

AlexMaa

Member
Licensed User
Longtime User
Page.TitleView - how to use it correctly? I want to arrange some labels and buttons. maybe there is a LoadLayout method or something else?

info.jpg

I need to get something like this
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
TitleView is any View (for example, a Panel).

Let's say you use two left and two right bar buttons. An icon typically has a size 24 * 24 dip (plus better to take 12 additional dips for spaces).
You can do following (for portrait mode)
B4X:
    myPanel.Initialize ("")
    myPanel.Width = GetDeviceLayoutValues.Width - 36 * 4
    myPanel.Height = 40 ' IMO, optimal size
    myPanel.LoadLayout ("myPanel")
    Page1.TitleView = myPanel
 
Upvote 0
Top