获取像素值

(int)context.getResources().getDimension(R.dimen.slidebar_light_offset_left);

你可能感兴趣的:(获取像素值)