B4A Library [Moved] WobbleMenu

Brandsum

Well-Known Member
Licensed User
Can you post these logs?
I've added before after log for better understanding,
B4X:
Dim BezierView As BitmapCreator
Dim BezierPath As BCPath
Dim sWidth As Double = 1000
Dim sHeight As Double = 500

BezierPath.Initialize(0, 0)
BezierPath.LineTo(sWidth,sHeight)
BezierPath.LineTo(0,sHeight)
BezierPath.LineTo(0,0)

BezierView.Initialize(sWidth,sHeight)

Log("before 1")
BezierView.DrawPath(BezierPath,BackgroundColor,True,0)
BezierView.DrawPath(BezierPath,shadow,False,10)
Log("after 1")
Here is the log,
B4X:
Logger connected to:  OnePlus ONEPLUS A6000
--------- beginning of system
--------- beginning of crash
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
before 1
1
1
after 1
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
 
Last edited:

scdroiddev

New Member
Licensed User
Longtime User
Hi, maybe I'm wrong (I'm a novice, sorry) but if you click on a TabIcon that's already selected no click event happens. I use 1.30 version and b4a 9.30. Thank you.
 

Brandsum

Well-Known Member
Licensed User
Hi, maybe I'm wrong (I'm a novice, sorry) but if you click on a TabIcon that's already selected no click event happens. I use 1.30 version and b4a 9.30. Thank you.
Maybe that is how it was built to work. I don't remember much. Do you want to trigger a click event on the selected tab?
 

scdroiddev

New Member
Licensed User
Longtime User
Right, thank you! Triggering the event it's what I need, but I don't know how to do. At the moment I bought the ebook B4A-Rapid-8-80, but I'm a beginner. Thanks to all.
 

syerif

Active Member
Licensed User
Longtime User
How to set badge for this library?

hi finally i can do it ,

WhatsApp Image 2019-10-22 at 9.35.45 AM.jpeg


Kr5XwVn


Thank you for great lib..
 

M.G.R

Member
Licensed User
Longtime User
can you please give me an example of (Click event) for open URL when i click the tab
 

M.G.R

Member
Licensed User
Longtime User
You can implement your own animation. Check this link. ;)
Copy the library to additional library folder then run the examples. Have fun!
i've created an animation "in-out cubic" from that site, and click the "download source" button, then i get a file called "easing_function_generator.fla"
then i added it to my additional library folder
what the next step?
 

M.G.R

Member
Licensed User
Longtime User
another one please
if the user click on back button on phone, the tab still on the prev button

B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
    If KeyCode = KeyCodes.KEYCODE_BACK Then
        WebView1.Back
        Return True
    End If
    Return False
End Sub
i use the above code for webview, how to handle this in tabs?
 

Brandsum

Well-Known Member
Licensed User
another one please
if the user click on back button on phone, the tab still on the prev button

B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
    If KeyCode = KeyCodes.KEYCODE_BACK Then
        WebView1.Back
        Return True
    End If
    Return False
End Sub
i use the above code for webview, how to handle this in tabs?
If you have more queries then create a new thread.
 

takhs123

Member
Is there any way to put a panel back of WobbleMenu because the panel cover it and I cant put its evaluation to -1.
I tried to put it in a small panel down at the screen with big evaluation but the icons resized and doesnt feel right.
Is there any way?
 

Brandsum

Well-Known Member
Licensed User
Is there any way to put a panel back of WobbleMenu because the panel cover it and I cant put its evaluation to -1.
I tried to put it in a small panel down at the screen with big evaluation but the icons resized and doesnt feel right.
Is there any way?
Sorry I didn't understand. Do you want to add drop shadow?
 

takhs123

Member
Sorry I didn't understand. Do you want to add drop shadow?
I dont want to drop shadow. I want to Wooble menu be front of all elements of activity.
Panel Cover the WoobleMenu, I want to set Wooblemenu Front of Panel. But the panel has allready the minimum evaluation number(0). Do you have any idea how could be done?
91532371_677284196411317_7519339866631438336_n.png
 

Brandsum

Well-Known Member
Licensed User
I dont want to drop shadow. I want to Wooble menu be front of all elements of activity.
Panel Cover the WoobleMenu, I want to set Wooblemenu Front of Panel. But the panel has allready the minimum evaluation number(0). Do you have any idea how could be done?
View attachment 91092
Place wooblemenu object at the bottom of the view list in the designer.
 
Last edited:
Top