diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-11-04 15:08:59 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-11-04 15:34:41 -0700 |
| commit | e213677037f836529efcc0ac201fc61dd95481c5 (patch) | |
| tree | 0b5f5644a7ea7618b4c5e2bdc1c98a62ad602725 /core/java/android/widget/FrameLayout.java | |
| parent | c63de86ad37772cfe488663fe043157ac36c14ab (diff) | |
Push the jumpDrawablesToCurrentState() thing off everywhere it should be.
Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them. This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.
Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
Diffstat (limited to 'core/java/android/widget/FrameLayout.java')
| -rw-r--r-- | core/java/android/widget/FrameLayout.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/widget/FrameLayout.java b/core/java/android/widget/FrameLayout.java index 559a5fe61517..bcab7a9e0d31 100644 --- a/core/java/android/widget/FrameLayout.java +++ b/core/java/android/widget/FrameLayout.java @@ -156,6 +156,12 @@ public class FrameLayout extends ViewGroup { return super.verifyDrawable(who) || (who == mForeground); } + @Override + public void jumpDrawablesToCurrentState() { + super.jumpDrawablesToCurrentState(); + if (mForeground != null) mForeground.jumpToCurrentState(); + } + /** * {@inheritDoc} */ |
