<p><span style="color: #404040; font-family: 굴림;">EditText myEditText = (EditText) findViewById(R.id.test);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">myEditText.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);&nbsp;</span><br style="color: #404040; font-family: 굴림;" /><span style="color: #404040; font-family: 굴림;">myEditText.setTransformationMethod(new PasswordTransformationMethod());</span></p>