switch

  1. P

    iOS Question object: switch, change parameter "Off color"

    Hello Everyone Has anyone tried changing the "Off color" parameter for the "Switch" object? In Visual Designer I set the "Off color" to #FF0000, but after running it on the device, this color is not there. The color of the "Switch" object in the "off" position is barely distinguishable from the...
  2. Sagenut

    B4A Library [B4X] [XUI] FlipSwitch

    FlipSwitch v1.00 My first attempt to create a CustomView. It support B4A, B4J and B4i. I want to Thank @LucaMs for giving me the will to do it and the beginning idea. It's simply yet another ON/OFF switch. It feature a flap that got animated to change the state of the switch. The colors...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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