Code example for EditText

Methods: setTextsetTextColor

0
            setKeyActionButtonsEnabled(true); 
        } 
 
        @Override 
        protected void onCancelled() { 
            mCipherText.setText("error!");
            setKeyActionButtonsEnabled(true); 
            mCipherText.setTextColor(getResources().getColor(android.R.color.primary_text_dark));
        } 
    } 
 
    private class DeleteTask extends AsyncTask<String, Void, Void> {
        @Override 
        protected Void doInBackground(String... params) {
            final String alias = params[0];
            try { 
// BEGIN_INCLUDE(delete) 
                /* 
                 * Deletes a previously generated or stored entry in the 
                 * KeyStore.