What is "textview"

The Textview is used to display a text to the user, as well as the JLabel Swing. You can control its appearance and size by XML, just modify the attributes in the tag TextView, some of these attributes are:

  • android:text: value will be the text of the component;
  • android:textColor: The color value in the format =#RRGGBBIn hexadecimal, is the color of the text;
  • android:textSize: Font size should be indicated in px, ex: '12px’;
  • android:textStyle: Text style (Bold, Italic);
  • android:background: A color in the format #RRGGBB or a drawable;