diff options
| author | Daniel Sandler <dsandler@android.com> | 2012-03-23 16:36:00 -0500 |
|---|---|---|
| committer | Daniel Sandler <dsandler@android.com> | 2012-03-24 09:56:10 -0500 |
| commit | 820ba323f9919d33aac5e999bd8daa7842d3969c (patch) | |
| tree | f522d62ef59ef60bd62e8c76f6ad6670a90bfcb8 /core/java/android/widget/TextView.java | |
| parent | 7cf4640e812a86451d17514f01bb7ffa5e56c33b (diff) | |
| download | frameworks_base-820ba323f9919d33aac5e999bd8daa7842d3969c.zip frameworks_base-820ba323f9919d33aac5e999bd8daa7842d3969c.tar.gz frameworks_base-820ba323f9919d33aac5e999bd8daa7842d3969c.tar.bz2 | |
Add remotable methods for TextView's compound drawables.
Change-Id: I67445e5b1d4a571020dfcd551ab00bd83a8eb536
Diffstat (limited to 'core/java/android/widget/TextView.java')
| -rw-r--r-- | core/java/android/widget/TextView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 3c63b17..16d1b94 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -1798,6 +1798,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * @attr ref android.R.styleable#TextView_drawableRight * @attr ref android.R.styleable#TextView_drawableBottom */ + @android.view.RemotableViewMethod public void setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) { final Resources resources = getContext().getResources(); setCompoundDrawablesWithIntrinsicBounds(left != 0 ? resources.getDrawable(left) : null, @@ -1967,6 +1968,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * @attr ref android.R.styleable#TextView_drawableEnd * @attr ref android.R.styleable#TextView_drawableBottom */ + @android.view.RemotableViewMethod public void setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) { resetResolvedDrawables(); @@ -2042,6 +2044,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * * @attr ref android.R.styleable#TextView_drawablePadding */ + @android.view.RemotableViewMethod public void setCompoundDrawablePadding(int pad) { Drawables dr = mDrawables; if (pad == 0) { |
