|
|
@@ -37,7 +37,10 @@
|
|
|
android:background="@null"
|
|
|
android:hint="请输入(必填)"
|
|
|
android:textSize="15sp"
|
|
|
- android:gravity="center_vertical|right"/>
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ whatever:testType="regexp"
|
|
|
+ whatever:customRegexp="^[A-Za-z\u4e00-\u9fa5]+$"
|
|
|
+ whatever:testErrorString="姓名只能为中、英文"/>
|
|
|
</RelativeLayout>
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|