Android studio - Remove action bar

division by height in setup() led to an incorrect value - 0 to be exact;

Solution:
create a variable to get the height and then use that variable;

Example:

float getHeight = height;
float value = 1000 / getHeight;