M Mike1970 Well-Known Member Licensed User Longtime User Apr 4, 2020 #1 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
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
JohnC Expert Licensed User Longtime User Apr 4, 2020 #2 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
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.
M Mike1970 Well-Known Member Licensed User Longtime User Apr 4, 2020 #3 JohnC said: 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. Click to expand... Ok i just wondered if it was INSIDE the navigation bar Upvote 0
JohnC said: 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. Click to expand... Ok i just wondered if it was INSIDE the navigation bar
Semen Matusovskiy Well-Known Member Licensed User Apr 4, 2020 #4 Take a look Page.TitleView. This property allows to add any view (for example, a panel with another controls). Upvote 0
Take a look Page.TitleView. This property allows to add any view (for example, a panel with another controls).
A AlexMaa Member Licensed User Longtime User Jun 16, 2021 #5 Page.TitleView - how to use it correctly? I want to arrange some labels and buttons. maybe there is a LoadLayout method or something else? I need to get something like this Upvote 0
Page.TitleView - how to use it correctly? I want to arrange some labels and buttons. maybe there is a LoadLayout method or something else? I need to get something like this
M Mike1970 Well-Known Member Licensed User Longtime User Jun 16, 2021 #6 AlexMaa said: Page.TitleView - how to use it correctly? I want to arrange some labels and buttons. maybe there is a LoadLayout method or something else? View attachment 115046 I need to get something like this Click to expand... This is Android btw Upvote 0
AlexMaa said: Page.TitleView - how to use it correctly? I want to arrange some labels and buttons. maybe there is a LoadLayout method or something else? View attachment 115046 I need to get something like this Click to expand... This is Android btw
Semen Matusovskiy Well-Known Member Licensed User Jun 17, 2021 #7 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) Code: myPanel.Initialize ("") myPanel.Width = GetDeviceLayoutValues.Width - 36 * 4 myPanel.Height = 40 ' IMO, optimal size myPanel.LoadLayout ("myPanel") Page1.TitleView = myPanel Upvote 0
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) Code: myPanel.Initialize ("") myPanel.Width = GetDeviceLayoutValues.Width - 36 * 4 myPanel.Height = 40 ' IMO, optimal size myPanel.LoadLayout ("myPanel") Page1.TitleView = myPanel