// 把dp转化为px
int mMenuRightPadding = (int) TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP, 60, context.getResources()
.getDisplayMetrics());
int mMenuRightPadding = (int) TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP, 60, context.getResources()
.getDisplayMetrics());