mirror of
https://github.com/etlegacy/etlegacy-android.git
synced 2025-04-12 04:00:48 +00:00
java: missing pxToDp conversion
This commit is contained in:
parent
91c5a16402
commit
48c7c1e5e7
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ public class ETLActivity extends SDLActivity implements JoyStickListener
|
|||
|
||||
joystick_layout.addRule(RelativeLayout.ALIGN_LEFT);
|
||||
joystick_layout.addRule(RelativeLayout.CENTER_VERTICAL);
|
||||
joystick_layout.leftMargin = 10;
|
||||
joystick_layout.leftMargin = pxToDp(10);
|
||||
|
||||
mLayout.addView(joyStick_left, joystick_layout);
|
||||
|
||||
|
|
Loading…
Reference in a new issue