One way is through the XML by setting the android:inputType="textVisiblePassword" in the layout xml. The other way is through code such as the following
確定! 回上一頁