diff options
| author | Alan Viverette <alanv@google.com> | 2014-02-03 18:40:20 -0800 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2014-02-03 18:42:24 -0800 |
| commit | 8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 (patch) | |
| tree | a067807fe9c905fda3568db98cb654a520e694f8 /core/java/android/widget/AutoCompleteTextView.java | |
| parent | 8cff1a370e8d89c0a977b82cd8730ab791866808 (diff) | |
Add APIs for obtaining themed Drawable from Theme, Context
BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
Diffstat (limited to 'core/java/android/widget/AutoCompleteTextView.java')
| -rw-r--r-- | core/java/android/widget/AutoCompleteTextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/AutoCompleteTextView.java b/core/java/android/widget/AutoCompleteTextView.java index 259c66b9de37..eb232fd8db5c 100644 --- a/core/java/android/widget/AutoCompleteTextView.java +++ b/core/java/android/widget/AutoCompleteTextView.java @@ -366,7 +366,7 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe * @attr ref android.R.styleable#PopupWindow_popupBackground */ public void setDropDownBackgroundResource(int id) { - mPopup.setBackgroundDrawable(getResources().getDrawable(id)); + mPopup.setBackgroundDrawable(getContext().getDrawable(id)); } /** |
