apply screen adaptation with dimension setting