diff options
Diffstat (limited to 'core/java/android/preference/EditTextPreference.java')
-rw-r--r-- | core/java/android/preference/EditTextPreference.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/preference/EditTextPreference.java b/core/java/android/preference/EditTextPreference.java index aa27627..d5d339b 100644 --- a/core/java/android/preference/EditTextPreference.java +++ b/core/java/android/preference/EditTextPreference.java @@ -50,8 +50,12 @@ public class EditTextPreference extends DialogPreference { private String mText; - public EditTextPreference(Context context, AttributeSet attrs, int defStyle) { - super(context, attrs, defStyle); + public EditTextPreference(Context context, AttributeSet attrs, int defStyleAttr) { + this(context, attrs, defStyleAttr, 0); + } + + public EditTextPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { + super(context, attrs, defStyleAttr, defStyleRes); mEditText = new EditText(context, attrs); |