Simply learn Android textview
•
Android
This article shares the simple learning materials of textview for your reference. The specific contents are as follows
Several special attributes of XML
Android: AutoLink is used to specify whether to convert text into clickable hyperlink form. Its attribute values include none, web, email, phone, map or all. Android: drawbottom is used to add pictures to the low end of the text. Similarly, Android: hint is used to add pictures to the top, left and right. When the text is empty, What is the alignment of Android: grivaity text displayed by default? The text type displayed by Android: inputtype
Mainactivity.xml code
mainACtivity.java
Operation results
If you import APK into your mobile phone, you can really connect to Baidu. Isn't it amazing
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码