<EditText
android:id=”@+id/editText”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=”@null” 该属性设置为@null可使控件背景颜色变成透明 android:digits=“0123456789abcdefghijklmnopqrstuvwxyz” 该该属性可使控制文本编辑框只输入英文或数字属性设置
android:ems=“10”
android:gravity=“center” 可以使输入的文字居中
android:hint=“文本编辑框设置” 提示文字 用户输入内容后自动消失
android:inputType=“textPersonName|textImeMultiLine” 用户输入的内容较多时自动换行
android:maxLength=“300” 用户能够输入的最长字符数
android:textColor=”#FFAA00″ 通过颜色的16进制码控制输入的字符的颜色
android:textColorHint=”@android:color/holo_blue_bright” 设置提示文字的颜色
android:textSize=“30sp”
android:textStyle=“bold|italic” /> 输入内容的风格 加粗 或 倾斜