am 0c242376: Merge "Set current degrees when updating RotateDrawable from typed array" into lmp-mr1-dev
* commit '0c242376867feb434088387bfcdc6b4abcf7d465': 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