Fixing drag icon location on non-xlarge devices
Change-Id: I7897f67e145818866a51c6a50d4d3e59674b08b4
This commit is contained in:
1 parent
99e8b40b37
commit
8878a32f26
6 files changed
+14
-15
No files matched your search
@@ -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