diff options
| author | Daniel Sandler <dsandler@android.com> | 2012-03-26 06:51:28 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-03-26 06:51:28 -0700 |
| commit | 9ea03b9f29f6ec28ba4ced36c84328f48828f86d (patch) | |
| tree | 724c42df671e916eff16512d86c7235dd11fa007 /core/java/android/widget/TextView.java | |
| parent | c9f67764a856544446d44a3b377081f7fde3966c (diff) | |
| parent | 820ba323f9919d33aac5e999bd8daa7842d3969c (diff) | |
| download | frameworks_base-9ea03b9f29f6ec28ba4ced36c84328f48828f86d.zip frameworks_base-9ea03b9f29f6ec28ba4ced36c84328f48828f86d.tar.gz frameworks_base-9ea03b9f29f6ec28ba4ced36c84328f48828f86d.tar.bz2 | |
Merge "Add remotable methods for TextView's compound drawables."
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) { |
