Why not! Check the latest updatewould it be possible to set only 3 tabs?
UPDATE v1.3:it would be nice, if i have a property to change this black line to white or so.
View attachment 78111
Private Sub TriggerTabClickEvent(t As B4XView)
If CurrentTab = Tabs.IndexOf(t) + 1 Then Return
RippleEffect( t, xui.Color_Gray, 250)
'https://www.b4x.com/android/forum/threads/b4x-xui-simple-halo-animation.80267/#content
Private Sub RippleEffect (Parent As B4XView, Color As Int, Duration As Int)
Dim cvs As B4XCanvas
Dim p As B4XView = xui.CreatePanel("")
Dim InnerRadius As Int = Parent.Height * 1.30
If Parent.Width <> Parent.Height Then InnerRadius = Max(Parent.Width, Parent.Height) * 1.60
p.SetLayoutAnimated(0, 0, 0, InnerRadius, InnerRadius)
cvs.Initialize(p)
cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.TargetRect.CenterY, cvs.TargetRect.Width / 2, Color, True, 0)
Dim bmp As B4XBitmap = cvs.CreateBitmap
p.RemoveViewFromParent
Dim iv As ImageView
iv.Initialize("")
Dim p As B4XView = iv
Dim Radius As Int = InnerRadius/2
Dim x As Int = Parent.Width/2
Dim y As Int = Parent.Height/2
p.SetBitmap(bmp)
Parent.AddView(p, x, y, 0, 0)
p.SetLayoutAnimated(Duration, x - Radius, y - Radius, Radius * 2, Radius * 2)
p.SetVisibleAnimated(Duration, False)
Sleep(Duration)
p.RemoveViewFromParent
End Sub
Click on the designer on this view and change the "BackgroundColor" property.How to change color of bottom navigation bar.
Right click on the view in the designer and add the "Tab1Click" event should not be complicatedPlease give a sample for tab click event
Currently only 3 or 5 tabs possible.Can you increase or reduce the number of tabs/icons
This does not speed up the process!
no it doesn't and it wans't meant to speed something, but i am stupid to understand that great!!! after my post about problems...This does not speed up the process!
@stanks did you modified any code of this library?get some visual errors on real device when tapping on wobble menu buttons (wobble bottom/width 100%x) https://paste.pics/df4c15123692f97ea01f372bbda35095
and the second visual error is when i put wobble menu (same height and shorter. i didn't try with same width..) on panel which is on top https://paste.pics/bba6f58ed75f31563d141b217b293947
android v8 on device
way to fix that?
@yiankos1 No because that will look wired. This curve looks good in the center at startup.1) Are you planning add which tab is firstly selected? Because, setting this by currenttab at runtime, transition is visible.
Don't know. I'll check that today!Why so many 1,1,1,1,1,1..... at log when app starting?
if you can post or dm your project then I can check whats is going on.no i didn't change any code.
Why so many 1,1,1,1,1,1..... at log when app starting?