Hi...
I am using the OS lib to get the scale of the current device...and using a Toast Message to display it to me, for testing purposes...
The message is composed by the devices screen Height, screen Width and scale.
In the toast message the screen scale shows "1.0" or "1.5"....
Then I use a case select to act acording to the scale factor, BUT i have to use 1,0 for the code to be correct....!(notice the comma instead of a decimal point)
I am using the OS lib to get the scale of the current device...and using a Toast Message to display it to me, for testing purposes...
The message is composed by the devices screen Height, screen Width and scale.
In the toast message the screen scale shows "1.0" or "1.5"....
Then I use a case select to act acording to the scale factor, BUT i have to use 1,0 for the code to be correct....!(notice the comma instead of a decimal point)