Three new features that will soon be available: 1. Screen video recording based on the new ADB feature: This feature requires an Android 4.4 device. It is very useful for demonstrations. 2. Simple animations. Three new methods were added to the View objects which make animations very...
Sub ShakeView (View As B4XView, Duration As Int)
Dim Left As Int = View.Left
Dim Delta As Int = 20dip
For i = 1 To 4
View.SetLayoutAnimated(Duration / 5, Left + Delta, View.Top, View.Width, View.Height)
Delta = -Delta
Sleep(Duration / 5)
Next
View.SetLayoutAnimated(Duration/5, Left, View.Top, View.Width, View.Height)
End Sub
Subject: Set and get the 'padding' of a view. Sub: setPadding Description: Sets the padding'of a view. 'Sets the padding of a view 'v = view 'Left, Top, Right, Bottom padding values in pixels Sub setPadding(v As View, Left As Int, Top As Int, Right As Int, Bottom As Int) Dim jo = v As...
Hi there Calling all UX wizards outthere. What can we recommend for this kind of animated UX experience in B4X? https://dribbble.com/shots/3389202-Landing-Experiments-Sources-sorted-by-complexity Thanks
This is a simple like animation. It looks smoother and better in real. Private Sub LikeAnimation(xlbl As B4XView,duration As Int) Dim txt_size As Float = xlbl.TextSize If xlbl.Text = Chr(0xE87E) Then xlbl.SetTextSizeAnimated(duration/2,1) Sleep(duration/2)...
For an app that should run on Android and iOS an animation effect is needed. A fullscreen image shall get an alternating zoom in/out animation. It is expected that after a continuous zoom-in the image stands for a short time and then zooms out again continuously. This is solved in principle by...
The CircularProgressBar class includes a generic animation code that you can use to create all kinds of animations. We only need to implement the DrawValue sub. In this case we will draw a border around the view. The value will be between 0 to 100. The top and bottom borders will be drawn...
The layout should be made of a "base panel" that holds all other views. The base panel is then replaced with an ImageView and returned back at the end of the animation. 'Type in globals: Type PixelGroup (SrcX As Int, SrcY As Int, x As Float, y As Float, dx As Float, dy As Float) Sub...
www.b4x.com
Nota: [B4X] indica que es multiplataforma para B4J, B4A, B4I
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.