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.height = mSensorBounds.height();
|
||||
RectF relativeToView = getBoundsRelativeToView(new RectF(mSensorBounds));
|
||||
lp.setMargins(
|
||||
lp.setMarginsRelative(
|
||||
(int) relativeToView.left,
|
||||
(int) relativeToView.top,
|
||||
(int) relativeToView.right,
|
||||
|
||||
Reference in New Issue
Block a user