diff options
author | Adam Powell <adamp@google.com> | 2012-03-21 17:50:51 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2012-03-21 17:51:30 -0700 |
commit | 3004cc50f22e724efb791aa80e9d6c566d2ddb5d (patch) | |
tree | 311b234a53e48edc9e87ed7475da6bfceaeee6a6 /core/java/android/widget | |
parent | ef08c1cd919ada0b4cd0c6ef0ade509d32f100b0 (diff) | |
download | frameworks_base-3004cc50f22e724efb791aa80e9d6c566d2ddb5d.zip frameworks_base-3004cc50f22e724efb791aa80e9d6c566d2ddb5d.tar.gz frameworks_base-3004cc50f22e724efb791aa80e9d6c566d2ddb5d.tar.bz2 |
Add SeekBar property accessors to match available style attributes
Bug 6103624
Change-Id: I7bc863250f3b156cf6663e484baab2c35a949db5
Diffstat (limited to 'core/java/android/widget')
-rw-r--r-- | core/java/android/widget/AbsSeekBar.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/widget/AbsSeekBar.java b/core/java/android/widget/AbsSeekBar.java index e36afa3..ca5648a 100644 --- a/core/java/android/widget/AbsSeekBar.java +++ b/core/java/android/widget/AbsSeekBar.java @@ -133,6 +133,16 @@ public abstract class AbsSeekBar extends ProgressBar { } /** + * Return the drawable used to represent the scroll thumb - the component that + * the user can drag back and forth indicating the current value by its position. + * + * @return The current thumb drawable + */ + public Drawable getThumb() { + return mThumb; + } + + /** * @see #setThumbOffset(int) */ public int getThumbOffset() { |