I have a dialog box that i have created. this is the code for edittext box. but i want the text to be like password textbox. what change can i do?
android:inputType="textPassword"
final EditText input = new EditText(Setting.this);
LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT,
LinearLayout.LayoutParams.MATCH_PARENT);
input.setLayoutParams(lp);