fix padding problem in version lower than android-L