Controls related to Adapter in android ---- Spinner & AutoCompleteTextView, android ---- spinner
Spinner (List Option box) & AutoCompleteTextView (automatically complete text box)
I. Core Attributes of the List Option box
Android: dropDownHorizontalOffset: sets the horizontal offset distance of the list box.
Android: dropDownVerticalOffset: sets the horizontal vertical distance of the list box.
Android: dropDownSelector: background when the list is selected
Android: dropDownWidth: Set the width of the drop-down list box
Android: gravity
Android: popupBackground: Set the background of the list box
Android: spinnerMode: sets the mode of the list box. There are two optional values: dialog (dialog box style window) and dropdown (drop-down menu window)
Android: prompt: sets the prompt information of the list box in the dialog box mode, that is, the title
Android: entries use array resources to set the items in the drop-down list
2. Automatically complete common attributes of text boxes
Android: completionHint: Set the title of the prompt in the drop-down menu
Android: completionHintView: the drop-down menu is displayed in the definition prompt view.
Android: completionThreshold: specifies the number of characters that a user inputs. A prompt is displayed.
Android: dropDownAnchor sets the "anchor" component in the drop-down menu. If no attribute is specified, the TextView is used as the "anchor" component for positioning.
Android: dropDownHeight: Set the height of the drop-down menu
Android: dropDownWidth: Set the height of the drop-down menu
Android: dropDownHorizontalOffset specifies the horizontal spacing between the drop-down menu and text
Android: dropDownVerticalOffset: Specifies the Vertical spacing between the drop-down menu and text.
Android: dropDownSelector: Set the click effect of the drop-down menu
Android: popupBackground: Set the background of the drop-down menu