We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfeecaa commit d697340Copy full SHA for d697340
docs/components/MaterialTextView.md
@@ -27,14 +27,18 @@ reference.
27
xmlns:android="http://schemas.android.com/apk/res/android"
28
android:layout_width="match_parent"
29
android:layout_height="match_parent">
30
- <MaterialTextView
+ <TextView
31
android:id="@+id/text_view_id"
32
android:layout_height="wrap_content"
33
android:layout_width="wrap_content"
34
android:text="@string/hello" />
35
</LinearLayout>
36
```
37
38
+Note: If you use our full themes (which we recommend), `TextView` will
39
+auto-inflate to `MaterialTextView`, otherwise, you will need to specify
40
+`<com.google.android.material.textview` in your xml.
41
+
42
### Attributes
43
44
`MaterialTextView` supports all of the standard attributes that can be changed
0 commit comments