mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
More direct PX obtaining, now buttons are creatable again!
This commit is contained in:
parent
5b2c191b09
commit
2ce3bb4b76
3 changed files with 14 additions and 13 deletions
|
|
@ -62,11 +62,12 @@ public class PojavLoginActivity extends BaseActivity
|
|||
super.onCreate(savedInstanceState); // false);
|
||||
|
||||
Tools.updateWindowSize(this);
|
||||
|
||||
/*
|
||||
ControlData.pixelOf2dp = (int) Tools.dpToPx(2);
|
||||
ControlData.pixelOf30dp = (int) Tools.dpToPx(30);
|
||||
ControlData.pixelOf50dp = (int) Tools.dpToPx(50);
|
||||
ControlData.pixelOf80dp = (int) Tools.dpToPx(80);
|
||||
*/
|
||||
ControlData[] specialButtons = ControlData.getSpecialButtons();
|
||||
specialButtons[0].name = getString(R.string.control_keyboard);
|
||||
specialButtons[1].name = getString(R.string.control_toggle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue