输入特定字符
效果图:

< xml version="1.0" encoding="utf-8" >
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:orientation="vertical" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:stretchColumns="1" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/user" />
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/pass" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textPassword" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/twopass" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textPassword" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/email" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="textEmailAddress" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/authcode" />
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
android:layout_width="80dp"
android:layout_height="wrap_content" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/p2" />
android:id="@+id/changeId"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/change" />
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/text"
android:id="@+id/textId"
/>