am a9566f90: am 0c242376: Merge "Set current degrees when updating RotateDrawable from typed array" into lmp-mr1-dev
* commit 'a9566f9085427287e99b0b20c51dda4688a3e1e8': Set current degrees when updating RotateDrawable from typed array
This commit is contained in:
@@ -497,6 +497,7 @@ public class RotateDrawable extends Drawable implements Drawable.Callback {
|
||||
|
||||
state.mFromDegrees = a.getFloat(R.styleable.RotateDrawable_fromDegrees, state.mFromDegrees);
|
||||
state.mToDegrees = a.getFloat(R.styleable.RotateDrawable_toDegrees, state.mToDegrees);
|
||||
state.mCurrentDegrees = state.mFromDegrees;
|
||||
|
||||
final Drawable dr = a.getDrawable(R.styleable.RotateDrawable_drawable);
|
||||
if (dr != null) {
|
||||
|
||||
Reference in New Issue
Block a user