From wiki.ginstr.com
Revision as of 13:02, 12 July 2017 by Mark (talk | contribs) (formatting)
Jump to: navigation, search

GnDropDownSelection

Widget XML tag
<com.ginstr.widgets.GnDropDownSelection>
Description
GnDropDownSelection extends GnDropDown widget with a possibility to select multiple values from dropdown list

XML Attributes Description

Attribute Description
gn:s_SelectedItemText Text which will be displayed in dropdown if at least 1 item is selected

Can be

  • @string

Example

<com.ginstr.widgets.GnDropDownSelection
  android:id="@+id/service_name"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:background="@drawable/dropdown"
  gn:singleItemMode="true"
  gn:s_sourceType="database"
  gn:textColor="#000000"
  gn:s_ZeroItemText="@string/screen1_serviceNameZeroItem"
  gn:s_SelectedItemText="@string/screen1_servicesSelected" />