to make UI consistent for all Android versions