use dp to fix rendering when system font size is very large
fix crash upon orientation change