Hello friends

We are happy to have a great community and great friends like you.
We do our best to make B4x look more beautiful

Today we give you another cross-platform library as a gift


5- UM_SnackBar


ezgif.com-gif-maker (6).gif



Author: Ui max_co
Version: 1.20

compatible with: B4A,B4i,B4J

Click to see more information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

4- UM_BtnLoading

Android, ios, desktop
ezgif.com-gif-maker (4).gif
....................
iosgif.gif
....................
b4g.gif


Author: Ui max_co
Version: 1.20
compatible with: B4A,B4i,B4J
Click me to get a sample

Click to see more information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

3- UM_TabBar 2

ezgif.com-gif-maker.gif


Author: Ui max_co
Version: 1.00
compatible with: B4A,B4i,B4J

Click to see more information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

2- UM_SearchView

ezgif.com-gif-maker.gif
....................
ezgif.com-gif-maker (1).gif

Author: Ui max_co
Version: 2.50
compatible with: B4A,B4i,B4J


Click to see more information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1- UM_AddToCart

ezgif.com-gif-maker (2).gif


Author: Ui max_co

Version: 1.27
compatible with: B4A,B4i,B4J


Click to see more information


If you are satisfied with our work, please donate: [email protected]


Ui Max_co
 

Attachments

  • Sample AddToCart.zip
    14.8 KB · Views: 470
  • Sample SearchView.zip
    14.7 KB · Views: 501
  • UM_TabBar2.b4xlib
    2.7 KB · Views: 403
  • Sample TabBar2.zip
    14.7 KB · Views: 428
  • UM_AddToCart.b4xlib
    3.1 KB · Views: 381
  • UM_BtnLoading.b4xlib
    2.7 KB · Views: 395
  • UM_SnackBar.b4xlib
    1.4 KB · Views: 412
  • UM_searchView.b4xlib
    3.8 KB · Views: 358
Last edited:

ramezaniabbas

Active Member
Licensed User
1- UM_ AddToCart

ezgif.com-gif-maker (2).gif


*Event:
AddSuccess (Count As Int)
DelSuccess (Count As Int)
*Functions:
Class_Globals as String
DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
GetHintText As String
GetNativePanel As Panel
GetNumber As Int
Initialize (Callback As Object, EventName As String)
IsInitialized As Boolean
mBase As B4xView
SetBuyMAX(Buy_Max As Int)
SetHintColor(HintColor As Int)
SetHintSize(HintSize As Int)
SetHintText(HintText As String)
SetIconsSize(IconSize As Int)
SetMainColor(Color As Int)
SetNumber(Number As Int)
SetNumberColor(NumberColor As Int)
SetNumberSize(NumberSize As Int)
SetFont(MyFont As B4XFont)
Tag as Object
*End Functions



Changelog

*1.23
Release

*1.26
Fixed a rotation problem on the B4i


*1.27
Set Font
 
Last edited:

ramezaniabbas

Active Member
Licensed User
2_UM_SearchView

ezgif.com-gif-maker.gif
..........
ezgif.com-gif-maker (1).gif

*Event
ClickedIcon
EnterPressed
FocusChanged (HasFocus As Boolean) -------------> Only in B4A
TextChanged (Old As String, New As String)

*Functions:
Activate(Active As Boolean) -------------> Only in B4i & B4J
Class_Globals As String
DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
GetActiveColor As Int
GetBackgroundColor As Int
GetHintColor As Int
GetIconSize As Int
GetText As String
GetTextColor As Int
GetTextSize As Int
Initialize (Callback As Object, EventName As String)
isActive As Boolean
IsInitialized As Boolean
mBase As B4XView
SetActiveColor(Color As Int)
SetBackgroundColor(Color As Int)
SetHint(Hinttxt As String)
SetHintColor(color As Int)
SetIconSize(size As Int)
SetTextColor(TextColor As Int)
SetTextSize(txtsize As Int)
SetCornerRadius(CornerRadii As Int)
Tag As Object
SetFont(Fonts as B4XFont) as String
SetIcon(Icons As String) As String
SetIconDeleteColor(IconeColor as Int) as String

SetIconFont(Fonts as B4XFont) as String
*End Functions


Changelog

*1.30
Release

*1.60
Added Clear Click
Corner Radius in Designer
Border Width in Designer
SetCornerRadius(CornerRadii As Int)
Bug fixes in B4J
*2.50
password Mode
Ability to change the icon
Ability to change the text font
Change the color of the clear icon
Fixed some bugs
 
Last edited:

ramezaniabbas

Active Member
Licensed User
3-UM_TabBar2

ezgif.com-gif-maker.gif


*Event :
itemYouClicked (ItemName As String,ItemIndex As Int)
*Functions:
ActiveColor(Color As Int) As String
AddText(Text as String) As String
AnimationTime(MilliSecound As Int) As String
Class_Globals As String
DesignerCreateView(Base As Object,lbl As Label,Props As Map) As String
Fonts(SetFont As B4XFont) As String
GetSize As Int
GetTexts As List
Initialize(Callback As Object,EventName As String) As String
IsInitialized As Boolean
mBase As B4XView
SetActive(Number As Int) As String
Show As String
Tag As Object
TextColor(Color As Int) As String
TextSize(Sizee as Int) as String
*End Functions


Changelog
*1.00
Release
 
Last edited:

ramezaniabbas

Active Member
Licensed User
4- UM_BtnLoading

Android, ios, desktop

ezgif.com-gif-maker (4).gif
...................
iosgif.gif
..................
b4g.gif


*Event :
ShowPage
ClickedButton
*Functions:
Class_Globals As String
DesignerCreateView(base As Object,lbl As Label,props As Map) As String
Initialize(Callback As Object,EventName As String) As String
mBase as B4XView
Result(Success As Boolean,RootOrActivity As B4XView) As String
SetColorAndBorders(backgroundColor1 As Int,BorderWidth1 As Int,BorderColor1 As AnimatedCounter,BorderCornerRadius1 As Int) As String
SetFonts(MyFont as B4XFont) as String
SetText(myText as String) as String
SetTextColor(MyColor as Int) as String
SetTextSize(MySize As Int) As String
Tag as Object

*End Functions
*Designer variables:

Background Color
Text Color
Text
Corner Radius
Text Size
Rotational speed (Fast, Normal, Slow)

*End

Changelog

*1.20
Release


See
post 1 to download the library
 
Last edited:

ramezaniabbas

Active Member
Licensed User
5- UM_SnackBar


ezgif.com-gif-maker (6).gif



*Functions:
BackgroundColor(color As Int) As String
Class_Globals as String
Fonts(setFont As B4XFont) As String
Gettext As String
Initialize as String
IsInitialized As Boolean
SetHeight(height As Int) As String
Show(Callback As B4XView) As String
Text(texte As String) As String
TextColor(color As Int) As String
TextSize(size as Int) as String
Time(AnimTime as Int) as String
*End Functions


Changelog
*1.20

Release



B4X:
'-----If you are using B4XPages:
Private message As UM_SnacBar
message.Initialize
message.Text("Be sure to enter the required values in the fields")

message.Show(Root)


B4X:
	'----> If you are using Activity
	
	Dim pnl As Panel
	pnl.Initialize("")
	pnl.Color=Colors.White
	Activity.AddView(pnl,0,0,100%x,100%y)
	
	Private message As UM_SnacBar
	message.Initialize
	message.Text("Be sure to enter the required values in the fields")
	message.Show(pnl)

See post 1 to download the library


Ui max_co
 
Last edited:

Kope

Active Member
Licensed User
5- UM_SnackBar


View attachment 111487


*Functions:
BackgroundColor(color As Int) As String
Class_Globals as String
Fonts(setFont As B4XFont) As String
Gettext As String
Initialize as String
IsInitialized As Boolean
SetHeight(height As Int) As String
Show(Callback As B4XView) As String
Text(texte As String) As String
TextColor(color As Int) As String
TextSize(size as Int) as String
Time(AnimTime as Int) as String
*End Functions


Changelog
*1.20

Release



How to use::
Private message As UM_SnacBar
message.Initialize
message.Text("Be sure to enter the required values in the fields")
message.Show(Root)


See post 1 to download the library


Ui max_co
This is beautiful

please are the text fields available?
 

ramezaniabbas

Active Member
Licensed User

ramezaniabbas

Active Member
Licensed User
Due the incompatibility of DesignSupport and the new toolchain of B4A 10.7, this lib will be a great addition to migrate to new components.

Would be nice (in the future) if you can add other features - a button Action, for example - like exists in DSSnack.
Thank you very much for the offer
Two new features will be added soon:
1- Add action button
2- Open from the bottom of the page
 

asales

Well-Known Member
Licensed User
Longtime User
Thank you very much for the offer
Two new features will be added soon:
1- Add action button
2- Open from the bottom of the page
Will be a great addition to replace the DSSnackbar.
Until now I don't could to use B4A 10.7, because I have some libs (Design Support and MaterialDateTimePicker) that don't works with the new version.
 

Daica

Active Member
Licensed User
@ramezaniabbas
Would it be possible to add something like this to the snackbar

* Option to close/hide the snackbar with snackbar.close or snackbar.hide?
I think having the ability to close the snackbar manually would be great.
Thank you!
 

Pravee7094

Active Member
5- UM_SnackBar


View attachment 111487


*Functions:
BackgroundColor(color As Int) As String
Class_Globals as String
Fonts(setFont As B4XFont) As String
Gettext As String
Initialize as String
IsInitialized As Boolean
SetHeight(height As Int) As String
Show(Callback As B4XView) As String
Text(texte As String) As String
TextColor(color As Int) As String
TextSize(size as Int) as String
Time(AnimTime as Int) as String
*End Functions


Changelog
*1.20

Release



B4X:
Private message As UM_SnacBar
message.Initialize
message.Text("Be sure to enter the required values in the fields")
'If you are using B4XPages:
message.Show(Root)
'Otherwise
message.Show(Activity)


See post 1 to download the library


Ui max_co
Hello,
Your work was really awesome.

I used your snack bar library with my b4x pages, It works well.
But When I used in Normal Default Pages Its gave me Error.

Sample Code :

B4X:
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("Layout")
    
    Private message As UM_SnacBar
    message.Initialize
    message.Text("Be sure to enter the required values in the fields")
    message.Show(Activity)
End Sub

Error I got :

Error occurred on line: 37 (UM_SnacBar)
java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to anywheresoftware.b4a.BALayout$LayoutParams
at anywheresoftware.b4a.objects.ViewWrapper.getTop(ViewWrapper.java:169)
at anywheresoftware.b4a.objects.B4XViewWrapper.getTop(B4XViewWrapper.java:139)
at b4a.example.um_snacbar._design(um_snacbar.java:319)
at b4a.example.um_snacbar._show(um_snacbar.java:152)
at b4a.example.main._button1_click(main.java:429)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6733)
at android.view.View.performClickInternal(View.java:6691)
at android.view.View.access$3400(View.java:802)
at android.view.View$PerformClick.run(View.java:26499)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:226)
at android.app.ActivityThread.main(ActivityThread.java:7178)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)


Any Suggestion ?

Thanks
Praveen
 

ramezaniabbas

Active Member
Licensed User
Hello,
Your work was really awesome.

I used your snack bar library with my b4x pages, It works well.
But When I used in Normal Default Pages Its gave me Error.

Sample Code :

B4X:
Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("Layout")
   
    Private message As UM_SnacBar
    message.Initialize
    message.Text("Be sure to enter the required values in the fields")
    message.Show(Activity)
End Sub

Error I got :

Error occurred on line: 37 (UM_SnacBar)
java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to anywheresoftware.b4a.BALayout$LayoutParams
at anywheresoftware.b4a.objects.ViewWrapper.getTop(ViewWrapper.java:169)
at anywheresoftware.b4a.objects.B4XViewWrapper.getTop(B4XViewWrapper.java:139)
at b4a.example.um_snacbar._design(um_snacbar.java:319)
at b4a.example.um_snacbar._show(um_snacbar.java:152)
at b4a.example.main._button1_click(main.java:429)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:6733)
at android.view.View.performClickInternal(View.java:6691)
at android.view.View.access$3400(View.java:802)
at android.view.View$PerformClick.run(View.java:26499)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:226)
at android.app.ActivityThread.main(ActivityThread.java:7178)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)


Any Suggestion ?

Thanks
Praveen
This library only works on B4xPages
Unfortunately we are too busy
It may take a while to fix it 🙏
 
Top