which is not a attribute of textview

 There are many attributes that can be used to customize the appearance and behavior of a TextView in Android. Some common attributes include:

  • android:text: the text displayed in the TextView
  • android:textSize: the size of the text
  • android:textColor: the color of the text
  • android:gravity: the alignment of the text within the TextView
  • android:background: the background color or drawable of the TextView

An attribute that is not associated with a TextView is "android:inputType". This attribute is used to specify the type of input that is allowed in an EditText, which is a subclass of TextView. The attribute "android:inputType" is not associated with the TextView because TextViews are not intended for user input.

Previous Post Next Post