commit | 2b25e2eee032a23fd20a136d5a747098f8b6452f | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Mon Mar 23 16:33:32 2015 -0700 |
committer | Adam Powell <adamp@google.com> | Tue Mar 24 16:19:20 2015 -0700 |
tree | ebd81a4f89a8a550ab8b4de58ea09e5cd0da7911 | |
parent | 4d24b14d129871692b4c844d71e0179d0403e3a4 [diff] |
Move foreground drawable down from FrameLayout into View This will allow any View to include foreground drawables. This is useful for cases where a foreground drawable is a more appropriate place to put a state list to show focus or touch highlighting. Also add View#onDrawForeground as a public API hook for drawing decorations after primary view content and child views such as scrollbars, foreground drawables and EdgeEffects. Change-Id: If1e4700af69db6876970f8f4ad5e3eab11b8034c