mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Fixing drag icon location on non-xlarge devices
Change-Id: I7897f67e145818866a51c6a50d4d3e59674b08b4
This commit is contained in:
@@ -87,8 +87,8 @@ public class DragView extends View {
|
||||
scale.setScale(scaleFactor, scaleFactor);
|
||||
}
|
||||
|
||||
final int offsetX = res.getInteger(R.integer.config_dragViewOffsetX);
|
||||
final int offsetY = res.getInteger(R.integer.config_dragViewOffsetY);
|
||||
final int offsetX = res.getDimensionPixelSize(R.dimen.dragViewOffsetX);
|
||||
final int offsetY = res.getDimensionPixelSize(R.dimen.dragViewOffsetY);
|
||||
|
||||
// Animate the view into the correct position
|
||||
mAnim = ValueAnimator.ofFloat(0.0f, 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user