Home | History | Annotate | Download | only in preference

Lines Matching refs:editText

30 import android.widget.EditText;
36 * It is a subclass of {@link DialogPreference} and shows the {@link EditText}
37 * in a dialog. This {@link EditText} can be modified either programmatically
38 * via {@link #getEditText()}, or through XML by setting any EditText
43 * See {@link android.R.styleable#EditText EditText Attributes}.
49 private EditText mEditText;
56 mEditText = new EditText(context, attrs);
109 EditText editText = mEditText;
110 editText.setText(getText());
112 ViewParent oldParent = editText.getParent();
115 ((ViewGroup) oldParent).removeView(editText);
117 onAddEditTextToDialogView(view, editText);
122 * Adds the EditText widget of this preference to the dialog's view.
126 protected void onAddEditTextToDialogView(View dialogView, EditText editText) {
130 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT,
163 * Returns the {@link EditText} widget that will be shown in the dialog.
165 * @return The {@link EditText} widget that will be shown in the dialog.
167 public EditText getEditText() {