Rating View

Rating View

Download PDF

Rating View

In general, a rating is the evaluation or assessment in terms of quality. Rating helps define the credibility of your app and can be used within apps as well for specific features. Higher the rating, better it is!


With Configure.IT, you have all the access to customize even the icon that you want to use for Rating. Upload a PSD that can be used for different images for the rating or else select the one from the Asset manager.
You also have the flexibility to give partial rating and set the default initial rating value as well.

    Keywords:
  • quality rating
  • star rating
  • rating scale

Properties

  • Layout Setting
    PARAMETER
    DESCRIPTION
    Right

    For instance, a Right value of 2 will push the view's content by 2 pixels to the left of the right edge.

    Apply Custom 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).

    Bottom

    For instance, a Bottom value of 2 will push the view's content by 2 pixels to the top of the bottom edge.

    Left

    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.

    Horizontal

    Group of horizontal android default properties.

    Vertical

    Group of vertical android default properties.

    Top

    For instance, a Top value of 2 will push the view's content by 2 pixels to the bottom of the top edge.

    Layout Width

    Sets the width of the picker
    match_parent/fill_parent : Takes the width as its parent view
    wrap_content : Takes the width as its content’s width

    Layout Height

    Sets the height of the picker
    match_parent/fill_parent : Takes the height as its parent view
    wrap_content : Takes the height as its content’s height

    Center In Parent

    This property centers the child vertically with respect to the bounds of its parent view.

    Default Min Width

    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.

    Default Min Height

    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.

  • Display/AdvanceText
    PARAMETER
    DESCRIPTION
    Hide

    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 Rating View.

  • CIT Custom Properties
    PARAMETER
    DESCRIPTION
    Enable Editing

    A boolean variable for enabling editing.

    Enable Partial Selection

    This property enables and customizes your Rating via partial or half star.

    Padding

    Used to set space between two tiles

    Number Of Stars

    This property is for setting number of rate stars to be shown for Rating View.

    Selected Image

    This property is for setting image for selected stars of Rating View.

    UnSelected Image

    This property is for setting image for unselected stars of Rating View.

  • Vertical
    PARAMETER
    DESCRIPTION
    Vertical Group

    Group of vertical android default properties.

    Reference Type

    These are the android default properties to set selected view with respect of other view.

    Reference Value

    Reference object that is used for positioning selected object

    Offset Type

    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.

    Offset Value

    Value define the extra space value in pixel.

    Center Vertical

    This property centers the child vertically with respect to the bounds of its parent view.

    Apply Vertical Custom Properties

    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).

  • Horizontal
    PARAMETER
    DESCRIPTION
    Horizontal Group

    Group of horizontal android default properties.

    Reference Type

    Reference type is the the default property to set selected view with respect to other view.

    Reference Value

    Reference object that is used for positioning selected object.

    Offset Type

    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

    Offset Value defines the extra space value in the pixel.

    Center Horizontal

    This property centers the child horizontally with respect to the bounds of its parent view.

    Apply Horizontal Custom Properties

    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).

  • Object
    PARAMETER
    DESCRIPTION
    Xpos

    Sets the X position of the Rating View.

    YPos

    Sets the Y position of the Rating View.

    Width

    Sets the width of the Rating View.

    Height

    Sets the height of the Rating View.

    Object ID

    Sets unique identifier for the control. Control can be referenced with name set in this property for configuration.

    Object Parent ID

    Set "Object ID" of Rating View which contains this control or can serve as parent.

    Key Name To Data

    Sets the web service key from data received from web server, which corresponds to the value to be displayed on the control.

    Initial Rating Value

    This property is for setting initial rating to be shown on Rating View. Should be value between 0 and number of stars in rating view.

Actions

  • Value Changed

    The changed event is sent to an element when its value changes.

Remarks

  • Image

    You need to set two images for Rating View to work. One for indicating selection (Selected Image property) and another for indicating deselection (UnSelected Image property).

  • Partial Selection

    You can enable partial rating selection (half star) on Rating View, using “Enable Partial Selection” property.