switch

  1. Star-Dust

    B4J Library [B4X] [B4XLib] SD SwitchAdv (3 states)

    Switch with 2 or 3 states. Horizontal or vertical. You can choose the style. All selectable from Design Note: Even if it is a B4XLib library, it is not allowed to decompress it, read and / or modify the sources. It is also not allowed to rename the library. Unless you are explicitly authorized...
  2. M

    iOS Question Get an UIview height (or convert from Objective C)

    Hi, i made a post before about the centering of a switch. i noticed that the switch is positioned in the top left corner of his hitbox. I need to center it. So the only way, i think, is to make the hitbox height (and width) equal to the effective height (and width) of the ios switch. There is...
  3. M

    iOS Question iOS Switch Centering

    hi everyone, i'm trying to center properly a native ios switch in a panel, but i don't get it done in a reliable way. in the designer How can i manage to get it done properly? :( Thanks in advance
  4. Star-Dust

    B4J Library SD: XUI_Design

    Goodmorning everyone, We have often discussed in this forum in different threads about the need to be able to insert XUI from design. We all know that the direction that is suggested by AnyWhere software is to create in the design the native views and then replace B4XView to the type...
  5. Star-Dust

    B4J Library [BAX] [XUI] xui_Switch (Class with source code)

    I saw that someone had trouble creating a simple Switch in XUI. So I wanted to give an example. No need to do reverse engineering I have source code. It is a xCustomView and therefore should be used with the Design. xui_Swicth: Star-Dust Proprieties: Value As Boolean Method setSwitchBitmap...
  6. Star-Dust

    B4i Library SD: Switch

    iSD_Switch Author: Star-Dust Version: 0.01 SDSwitch Events: ChangeValue (Value As Boolean) Functions: Class_Globals As String DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String GetBase As Panel getValue As Boolean Initialize (Callback As Object, EventName As...
  7. Star-Dust

    B4A Library SD Switch

    SD_Switch Author: Star-Dust Version: 0.03 SDSwitch Events: ChangeValue (Value As Boolean) Functions: Class_Globals As String DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String GetBase As Panel Initialize (Callback As Object, EventName As String) As String...
  8. Star-Dust

    B4A Library SD: ViewExtra

    This library adds some elements of view. SwitchView: Android and IOS SD_Spinner: Animated spinner with images UpDown: A view that allows you to increase or decrease a number within the set limits AlfabeticListView: A ListView that places the items in alphabetical order and a separator for each...
  9. Star-Dust

    Android Code Snippet SD: Switch ios/MaterialDesign Style with CustomView

    I created SwicthView. I have noticed that you have created a similar object already on the ViewEx library.
Top