switch

  1. Sagenut

    B4A Library [B4X] [XUI] FlipSwitch

    FlipSwitch v1.00 My first attempt to create a CustomView. It support B4A and B4J. I can't make test for B4i so I left it out. If someone can add the support for B4i then please I kindly ask him/her to contact me to update this post with the new version. I want to Thank @LucaMs for giving me the...
  2. epiCode

    B4A Library LEDLabel 1.01

    This is my first attempt to create a library Please be kind :) This allows you to make a label with tiny indicator on left which can be turned on or off (with any choice of color) Usage instructions: - Download the ledlabel.jar & xml and put it in the B4X additional library folder - Add...
  3. DavideTr94

    Android Question GooglePlayBilling - Change subscription type

    Good morning everyone, in my App there are 5 different types of subscription, each with different prices but all lasting one month. I should make a function that allows the user to upgrade a service by purchasing a different subscription: To go from "pui_cloud_lvl1" (1.99 €) to...
  4. 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...
  5. 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...
  6. 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
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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