Merge "Fix animation of settings button in RTL layout case"
This commit is contained in:
@@ -170,7 +170,8 @@ public class QSFooter extends FrameLayout implements
|
||||
int defSpace = mContext.getResources().getDimensionPixelOffset(R.dimen.default_gear_space);
|
||||
|
||||
mAnimator = new Builder()
|
||||
.addFloat(mSettingsContainer, "translationX", -(remaining - defSpace), 0)
|
||||
.addFloat(mSettingsContainer, "translationX",
|
||||
isLayoutRtl() ? (remaining - defSpace) : -(remaining - defSpace), 0)
|
||||
.addFloat(mSettingsButton, "rotation", -120, 0)
|
||||
.build();
|
||||
if (mAlarmShowing) {
|
||||
|
||||
Reference in New Issue
Block a user