B4A Library [B4X] [XUI] AS FloatingActionMenu - Alexander Stolte    May 28, 2024   (14 reactions) FontToBitmap(Chr(0xE190),True,30,xui.Color_Black),0) FloatingActionMenu.AddItem("Item #2",FloatingActionMenu.FontToBitmap(Chr(0xE190),True,30,xui.Color_Black),1) FloatingActionMenu.AddItem("Item #3",FloatingActionMenu.FontToBitmap(Chr(0xE190),True,30,xui.Color_Black),2) Dim Height As F B4A Tutorial [B4X] AS FloatingActionMenu - Open Menu above an item in a xCustomListView - Alexander Stolte    May 20, 2024   (8 reactions) https://www.b4x.com/android/forum/threads/b4x-xui-as-floatingactionmenu.161223/#post-989307 In this example, I let the AS_FloatingActionMenu open over an item that is in a list, no matter how far down the item is. 153902 Dim Height As Float = FloatingActionMenu.ItemProperties.Height*FloatingA B4J Question UDP Packet Data (Bytearray) to "struct"? - DonManfred (first post)    Dec 24, 2015   (3 reactions) WorldAcceleration(3) As Float, _ ExtentsCentre(3) As Float, TyreFlags(4) As Byte, Terrain(4) As Byte, TyreY(4) As Float, TyreRPS(4) As Float, _ TyreSlipSpeed(4) As Float, TyreTemp(4) As Byte, TyreGrip(4) As Byte, _ TyreHeightAboveGround(4) As Float, TyreLateralStiffness(4) As Float, Tyre B4A Library [B4X] [XUI] AS PopupMenuAdvanced based on xCustomListView - Alexander Stolte    Feb 24, 2024   (35 reactions) Height As Float) Opens the menu attached to a view Resize (ParentWidth As Float, ParentHeight As Float) As String setActivityHasActionBar (value As Boolean) As String setCornerRadius (radius As Int) As String sets the corner radius from the menu setDividerHeight (height As Int) As String setIsInSpec B4A Question Fast location pixel position X Y from a bitmap with only 1 pixel. - emexes (first post)    Sep 26, 2023   (2 reactions) 0) Dim dstwidth As Float = dst(4) Dim dstheight As Float = dst(5) Dim dstx As Float = dstxy(0) Dim dsty As Float = dstxy(1) Dim HowMuchRight As Float = dstx / dstwidth Dim HowMuchLeft As Float = 1 - HowMuchRight Dim HowMuchBottom As Float = dsty / dstheight Dim Ho B4A Library [B4X] AS FloatingPanel - Alexander Stolte    Sep 15, 2024   (29 reactions) This is a simple panel that can be attached anywhere and opens with an animation.
More usecases and updates to come ;)
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Pay B4A Question Convert x,y value On Panel_Touch to Centimeter (CM) - emexes (first post)    Jan 20, 2024   (2 reactions) Give this a burl: Private Sub panel_Touch (Action As Int, X As Float, Y As Float) Dim DPI As Float = 160dip Dim Xinches As Float = X / DPI Dim Yinches As Float = Y / DPI Dim Xcentimetres As Float = Xinches * 2.54 Dim Ycentimetres As Float = Yinches * 2.54 Log("x, y = " & X & ", " & Y) B4A Question Add Image to button in code - TILogistic (first post)    Dec 22, 2021   (3 reactions) Ry_BottomRight As Float, Rx_BottomLeft As Float, Ry_BottomLeft As Float) Dim jo As JavaObject = v.Background If v.Background Is ColorDrawable Or v.Background Is GradientDrawable Then jo.RunMethod("setCornerRadii", Array As Object(Array As Float(Rx_TopLeft, Ry_TopLeft, Rx_TopRight, Ry B4J Question [B4X] How to center panels in a loop with gap - William Lancee (first post)    Apr 08, 2022   (3 reactions) Dim totalWidth as float = 5 * (widthHeight + GapBetween) - GapBetween Dim xOffset as Float = root.width / 2 - totalWidth / 2 Dim pnlLeft as float = xOffset + (widthHeight + GapBetween) * i B4A Library [B4X] [XUI] AS CalendarExpandable? [Payware] - Alexander Stolte    Apr 02, 2024   (13 reactions) Padding As Float) As (Date As Long, Color As Int, Text As String, TextColor As Int) As (xfont As B4XFont, Height As Float, Padding As Float, CornerRadius As Float, TextAlignment_Horizontal As String) As (StartDate As Long, EndDate As Long, Color As Int) As (Height As Float, AlphaColor As Int Page: 1   2   3   4   5   6   7   Powered by ColBERT |