private void initDisplayButton() { Button displayButton = (Button) findViewById(R.id.button); displayButton.setOnClickListener(new OnClickListener () { @Override public void onClick(View arg0) { EditText editName = (EditText) findViewById(R.id.editText); TextView textDisplay = (TextView) findViewById(R.id.textView); String nameToDisplay = editName.getText().toString(); textDisplay.setText("Hello " + nameToDisplay); } }); }
it is really amazing...thanks for sharing....provide more useful information...
ReplyDeleteiOS mobile application development pune