add layout width and layout height for preference screen