TextView control Text property, set the text textcolor: Set text color textsize: Set text font size Autolink: Set Text to Phone, When the URL connection is displayed as clickable link cursorvisible: The setting cursor is displayed or hidden, the default is display Drawabletop: Output A drawable above the text, Drawableleft, Drawablebottom, Drawableright drawablepadding: Sets the margin of the picture singleline: Sets the line display, if the screen line does not display the full text when the ellipsis is used instead of the ellipsize: the position of the ellipsis (start at the beginning, End at the end, middle in the middle) gravity: The position of the text, if set to center, the text will be centered maxlength: Set the displayed text length, the excess part does not show lines: Set the number of lines of text, set two lines to display two lines, Even if the second row has no data textcolorhighlight: Setting the color of the selected text defaults to Blue TextStyle: Set the font, you can set one or more, with the "|" Separating Height: Setting text field width: Setting text field widths background: background
TextView control Common Properties for Android software development