IT. Expert System.

Android Reference

Spinner


android.widget

Class Spinner

    • Field Detail

      • MODE_DIALOG

        public static final int MODE_DIALOG
        Use a dialog window for selecting spinner options.
        See Also:
        Constant Field Values
      • MODE_DROPDOWN

        public static final int MODE_DROPDOWN
        Use a dropdown anchored to the Spinner for selecting spinner options.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Spinner

        public Spinner(Context context)
        Construct a new spinner with the given context's theme.
        Parameters:
        context - The Context the view is running in, through which it can access the current theme, resources, etc.
      • Spinner

        public Spinner(Context context,
               int mode)
        Construct a new spinner with the given context's theme and the supplied mode of displaying choices. mode may be one of MODE_DIALOG or MODE_DROPDOWN.
        Parameters:
        context - The Context the view is running in, through which it can access the current theme, resources, etc.
        mode - Constant describing how the user will select choices from the spinner.
        See Also:
        MODE_DIALOG, MODE_DROPDOWN
      • Spinner

        public Spinner(Context context,
               AttributeSet attrs)
        Construct a new spinner with the given context's theme and the supplied attribute set.
        Parameters:
        context - The Context the view is running in, through which it can access the current theme, resources, etc.
        attrs - The attributes of the XML tag that is inflating the view.
      • Spinner

        public Spinner(Context context,
               AttributeSet attrs,
               int defStyle)
        Construct a new spinner with the given context's theme, the supplied attribute set, and default style.
        Parameters:
        context - The Context the view is running in, through which it can access the current theme, resources, etc.
        attrs - The attributes of the XML tag that is inflating the view.
        defStyle - The default style to apply to this view. If 0, no style will be applied (beyond what is included in the theme). This may either be an attribute resource, whose value will be retrieved from the current theme, or an explicit style resource.
      • Spinner

        public Spinner(Context context,
               AttributeSet attrs,
               int defStyle,
               int mode)
        Construct a new spinner with the given context's theme, the supplied attribute set, and default style. mode may be one of MODE_DIALOG or MODE_DROPDOWN and determines how the user will select choices from the spinner.
        Parameters:
        context - The Context the view is running in, through which it can access the current theme, resources, etc.
        attrs - The attributes of the XML tag that is inflating the view.
        defStyle - The default style to apply to this view. If 0, no style will be applied (beyond what is included in the theme). This may either be an attribute resource, whose value will be retrieved from the current theme, or an explicit style resource.
        mode - Constant describing how the user will select choices from the spinner.
        See Also:
        MODE_DIALOG, MODE_DROPDOWN


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 162 / 158763264. Delta: 0.06500 с