Hi i have a edittext with hint ..what iam trying to implement is whenever i am getting the info into the Edittext or when the user types into the edittext..the hint should stay and text user types should start below or beside hint...can we make the hint permanent?.or is there any way we can implement ..any suggestion is appreciated
EditText address = new EditText(activity);
if (data.getAddress() != null
&& !data.getAddress().trim().equals("")) {
address.setText(data.getAddress());
} else {
address.setHint(R.string.address);
}