My question is, how to put a label in a editBox in android ?
Like for example, i want to put \"To:\" in editbox of a contact picke
You can add like this
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.home_screen);
EditText edittext = (EditText)getViewById(R.id.edittextid);
edittext.setText("To:")
}
Then you will see the text when ever you starting the activity.
I hope it helps....