A Switch is a two-state toggle switch control that can select between two options. Switch Control is an accessibility feature. It basically displays user, the state of activity as Active/Inactive, thus providing him with the choice to perform as per the requirement.
Configure.IT provides you this functionality in the form of ready to use control. The user may drag the thumb/finger back and forth to choose the selected option, or simply tap to toggle.
This property sets image for switch ON state.
This property is for setting image for switch OFF state.
Sets the image in the Background.
This property is for setting text for switch ON state.
This property is for setting text for switch OFF state.
The color used to tint the appearance of the thumb. Color for switch thumb.
The color used to tint the appearance of the switch when it is turned off.
A Boolean property that indicates whether the gesture recognizer is enabled.
Enables the Interaction with user, i.e. control responds when user taps on it.
Used to set the transparency to the object which ranges from 0 to 1.
Used to set the background color to the Switch Control.
Sets the X position of the Switch Control.
Sets the Y position of the Switch Control.
Sets the width of the Switch Control.
Sets the height of the Switch Control.
Sets unique identifier for the control. Control can be referenced with name set in this property for configuration.
Set "Object ID" of Switch Control which contains this control or can serve as parent.
Sets the web service key from data received from web server, which corresponds to the value to be displayed on the control.
This property is for setting default state for switch. If this property is enabled switch will be in ON state else it will be in OFF state.
This property is for setting tint color for switch ON state.
Group of horizontal android default properties.
Reference type is the the default property to set selected view with respect to other view.
Reference object that is used for positioning selected object.
marginLeft : Specifies extra space on the left side of this view. This space is outside this view's bounds.
marginRight : Specifies extra space on the right side of this view. This space is outside this view's bounds.
Offset Value defines the extra space value in the pixel.
This property centers the child horizontally with respect to the bounds of its parent view.
If any of the horizontal layout setting parameter(s) are selected then this value is selected to indicate user applied horizontal custom layout setting parameter(s).
Group of vertical android default properties.
These are the android default properties to set selected view with respect of other view.
Reference object that is used for positioning selected object
marginTop : Specifies extra space on the top side of this view. This space is outside this view's bounds.
marginBottom : Specifies extra space on the bottom side of this view. This space is outside this view's bounds.
Value define the extra space value in pixel.
This property centers the child vertically with respect to the bounds of its parent view.
If any of the vertical layout setting parameter(s) are selected then this value is selected to indicate user applied vertical custom layout setting parameter(s)
Hiding an element can be done by checking ‘Hide’. This property lets you hide the control.
Advance - Sets auto resizing with respect to superview, for Switch Control.
The width of the view cannot be less than the given value.
If user select “Default Min Width” then android default value is taken otherwise it takes 0dp.
The height of the view cannot be less than the given value.
If user select “Default Min Height” then android default value is taken otherwise it takes 0dp.
Sets the height of the view
match_parent/fill_parent : Takes the height as its parent view
wrap_content : Takes the height as its content’s height
This property centers the child vertically with respect to the bounds of its parent view.
Sets the width of the view
match_parent/fill_parent : Takes the width as its parent view
wrap_content : Takes the width as its content’s width
The padding is expressed in pixels for the left, top, right and bottom parts of the view. Padding can be used to offset the content of the view by a specific amount of pixels.
For instance, a Left value of 2 will push the view's content by 2 pixels to the right of the left edge.
For instance, a Right value of 2 will push the view's content by 2 pixels to the left of the right edge.
For instance, a Top value of 2 will push the view's content by 2 pixels to the bottom of the top edge.
For instance, a Bottom value of 2 will push the view's content by 2 pixels to the top of the bottom edge.
Group of horizontal android default properties.
Group of vertical android default properties.
If any of the layout setting parameter(s) are selected then this value is selected to indicate user applied custom layout setting parameter(s).
The changed event is sent to an element when its value changes.
This event is triggered when user taps a button on alert view, which was shown using “Show Alert” action, so any actions you want perform when alert button button is tapped can be configured in “Alert Button Click” event listed in ”ACTION(S)” tab of the control on which you have configured “Show Alert” action or Under Data source events of "Data sources" tab (if alert was shown on using “Show Alert” action configured in "Datasource Loaded" event of a data source in "Data Sources" list, you can configure actions of alert button click in "Alert Button Click" listed under data source events). “seletedButtonIndex” and "selectedButtonTitle" are the response parameters which indicate which button is tapped by user. Add condition for checking value of “seletedButtonIndex” or "selectedButtonTitle" response parameter value in order to configure actions for each button of alert view separately. You can access user input in alert view text fields using "alert_text_1" and "alert_text_2" response parameters in case of alert type is "SecureTextInput", "PlainTextInput" or "LoginAndPasswordInput"
Following are the response parameters for this event :-
1) selectedButtonIndex :- Index of the tapped button
2) selectedButtonTitle :- Title of the tapped button
3) alert_text_1 :- Text entered by user in text field one. If alert type is
"SecureTextInput", "PlainTextInput" or "LoginAndPasswordInput"
4) alert_text_2 :- Text entered by user in text field two(password). If alert type is
"LoginAndPasswordInput"
You can configure actions that has to be performed when uses switches ON/OFF switch control. On state change (ON/OFF) ‘Value Changed’ event will be triggered. So you need to configure your actions in switch control ACTION(S) >> ‘Value Changed’ event.