History log of /frameworks/base/core/res/res/drawable/activated_background_light.xml
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fdab076b75b1ea470a216cba84f1015e77abfd0 15-Mar-2012 Dianne Hackborn <hackbod@google.com> Remove fade animations from framework drawables.

Change-Id: Ic4115ba779e88a405b5d2cd927db99c43def3704
/frameworks/base/core/res/res/drawable/activated_background_light.xml
079e23575024e103358c982152afb7a720ae1a8a 19-Oct-2010 Dianne Hackborn <hackbod@google.com> Add new fade in/out feature for drawable containers.

This is used to allow list view's pressed and activated indicators
to fade in an out, though of course it can be used elsewhere as well.

There is a lot of complexity in supporting this in list view. The
two main things that are being dealt with:

- When recycling views, we need to make sure that the view's drawable
state doesn't get animated from an old row's state. The recycler
now keeps track of which position a view was last in, and if it is
reused at a new position there is a new View/Drawable API to tell
it to jump to its current state instead of animating.

- For the pressed indicator to fade out, we need to keep displaying it
after it is hidden. There are new variables and code to keep track
of this state, and tweaks in various places to be able to remember
the last selected position and continue updating the drawable bounds
as needed.

Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
/frameworks/base/core/res/res/drawable/activated_background_light.xml
d0fa371f276fde32d81c037006941bc93da0bb03 15-Sep-2010 Dianne Hackborn <hackbod@google.com> Add a new "activated" state to View.

Use this in ListView and GridView if the top view is not checkable.

This allows PreferenceActivity to now highlight the current heading
that is being shown.

Change-Id: I0d28aded9a61a42962b4aece420ae4058712d963
/frameworks/base/core/res/res/drawable/activated_background_light.xml