Merge "Support RTL with new Udfps overlay" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a406fb935e
@@ -306,7 +306,7 @@ public class UdfpsKeyguardView extends UdfpsAnimationView {
|
|||||||
lp.width = mSensorBounds.width();
|
lp.width = mSensorBounds.width();
|
||||||
lp.height = mSensorBounds.height();
|
lp.height = mSensorBounds.height();
|
||||||
RectF relativeToView = getBoundsRelativeToView(new RectF(mSensorBounds));
|
RectF relativeToView = getBoundsRelativeToView(new RectF(mSensorBounds));
|
||||||
lp.setMargins(
|
lp.setMarginsRelative(
|
||||||
(int) relativeToView.left,
|
(int) relativeToView.left,
|
||||||
(int) relativeToView.top,
|
(int) relativeToView.top,
|
||||||
(int) relativeToView.right,
|
(int) relativeToView.right,
|
||||||
|
|||||||
Reference in New Issue
Block a user