Wednesday, June 1, 2011

[Android]Android TextView的顯示設定

TextView
android:autoLink---Controls whether links such as urls and email addresses are automatically found and converted to clickable links.

android:linksClickable---If set to false, keeps the movement method from being set to the link movement method even if autoLink causes links to be found.

android:autoText---If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.

android:textStyle---Style (bold, italic, bolditalic) for the text.

android:editable---If set, specifies that this TextView has an input method.

android:ellipsize---If set, causes words that are longer than the view is wide to be ellipsized instead of broken in the middle.

android:password---Whether the characters of the field are displayed as password dots instead of themselves.

android:maxLines---Makes the TextView be at most this many lines tall.

android:numeric---If set, specifies that this TextView has a numeric input method.

android:singleLine---Constrains the text to a single horizontally scrolling line instead of letting it wrap onto multiple lines, and advances focus instead of inserting a newline when you press the enter key.

AutoCompleteTextView
android:completionHint---Defines the hint displayed in the drop down menu.

android:completionThreshold---Defines the number of characters that the user must type before completion suggestions are displayed in a drop down menu

0 comments:

Post a Comment