1. 类的继承关系:
Object->View->TextView->Button
Button是TextView的子类,它的许多方法和属性跟TextView是非常相似的。
2. 几个属性:
android:text="这是件"
android:textColor="#00FF00"
android:textSize="16dp"
android:maxLength="14" // 设置最大的显示长度为14个字符
android:orientation="vertical"