B4A Code Snippet [B4X] [XUI] Simple Halo Animation - Erel    Oct 17, 2017   (46 reactions)   tags: halo animation, Halo, XUI Code to create a nice halo animation: 56306 Code is compatible with B4A, B4J and B4i. Sub CreateHaloEffect (Parent As B4XView, x As Int, y As Int, clr As Int) Dim cvs As B4XCanvas Dim p As B4XView = xui.CreatePanel("") Dim radius As Int = 150dip p.SetLayoutAnimated(0, 0, 0....SetBitmap(bmp) Parent.AddView(p, x, y, 0, 0) Dim duration As Int = 3000 p.SetLayoutAnimated(duration, x - radius, y - radius, 2 * radius, 2 * radius) p.SetVisibleAnimated(duration, False... B4J Code Snippet [B4X] [BitmapCreator] Layout implode animation - Erel    Apr 22, 2018   (12 reactions)   tags: implode layout, Erel 265722064 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 ImplodeLayout(BasePanel As B4XView, NumberOfSteps As Int) As ResumableSub #if debug Log("Animation disabled in debug mode.") Sleep(0) Return True #End If Dim... B4A Code Snippet [B4X] B4XDialog - show with animation - Erel    Feb 24, 2020   (14 reactions) Slides the dialog from one of the sides. Sub AnimateDialog (dlg As B4XDialog, FromEdge As String) Dim base As B4XView = dlg.Base Dim top As Int = base.Top Dim left As Int = base.Left Select FromEdge.ToLowerCase Case "bottom" base.Top = base.Parent....Parent.Width End Select base.SetLayoutAnimated(300, left, top, base.Width, base.Height) End Sub..., "Not Ok", "") AnimateDialog(dialog, "right") Wait For (rs... B4i Code Snippet Flip View - 3D Flip Animation - Alexander Stolte    Nov 15, 2024   (13 reactions) :UIViewAnimationOptionCurveEaseOut animations:^{ // Add perspective for a 3D effect... B4J Tutorial [BANano] SetLayoutAnimated & Other Animations - Mashiane    Aug 24, 2023   (1 reaction) Ola NB: Updated Demo & B4xlib on this post: https://www.b4x.com/android/forum/threads/bananocssutils-utility-helpers-animations-on-any-bananoelement.149805/#post-949404 We will use BANanoAnimeJS.. 145127 Private Sub btnSetLayoutAnimated_Click (e As BANanoEvent) SHIonBaseElement1.SetLayoutAnimated(2000, "20px", "20px", "400px", "200px") End Sub... B4i Tutorial Animations - Erel    Oct 27, 2014   (3 reactions) It is very simple to add nice animation effects to your layout. Animations are important. It makes...) the layout is animated. You can control the dumping ratio and duration in the main page settings... animations when you change the layout programmatically. View.SetLayoutAnimated - Changes the view position and size and allows you to animate the change. View.SetAlphaAnimated - Smoothly changes the alpha level (transparency level). View.SetColorAnimated - Smoothly changes the background color... B4A Example [B4X] AS CardSlider - Text animation - Alexander Stolte    Feb 24, 2024   (11 reactions) As B4XView = xui.CreatePanel("") xpnl.SetLayoutAnimated(0,0,0,AS_CardSlider1.ItemWidth... AS_CardSlider1.GetPanel(NewIndex).GetView(0).SetTextSizeAnimated(250,20) 'Active Item AS_CardSlider1.GetPanel(OldIndex).GetView(0).SetTextSizeAnimated(250,13) 'Inactive Item End Sub #If... B4A Tutorial [B4X] [XUI] CustomListView with animated header - Erel    Apr 30, 2019   (19 reactions)   tags: listview, Clv New CLVHeader class replaces this implementation: https://www.b4x.com/android/forum/threads/b4x-clvheader-add-a-nice-animated-header-to-xcustomlistview.105343/ 59958 252355084 This is a slightly modified version of xCustomListView. It adds a header. The header becomes shorter when the user....SetLayoutAnimated(0, 0, 0, pnlTop.Width, pnlTop.Height) lblHeader.TextSize = 20 + 20 * (Height... the available screen size for the content itself. The animation should be smooth in release mode... B4A Code Snippet [B4X] Testing hundreds of object or view animations - TILogistic    Sep 21, 2024   (18 reactions) I'm testing an animation class I created for cross-platform (B4X). ref. https://spicyyoghurt.com/tools/easing-functions 157181 157182 157185... B4J Tutorial WebGL library, working with static and animated models - max123    Aug 12, 2025   (3 reactions) this demo in particular I will show you how to load static and/or animated detailed 3D models that do..., just one, or many animations, actions that the model (let's call it an Actor) can perform (let's call it an Action). When you load an Actor with animations you can decide what Action it should.... Someone will wonder how Actors can have one or more animations... This is a legitimate question... create a skeleton of the model so that you can then make it do various actions and animate them. You don... Page: 1   2   3   4   5   6   7   |