80,360
社区成员
发帖
与我相关
我的任务
分享
// Padding to increase clickable areas on left & right of each list item
private final static float SELECT_PAD = 10.0F;
float paddingScale = getContext().getResources().getDisplayMetrics().density;
int selectPadding = (int) ((SELECT_PAD * paddingScale) + 0.5);
mSelectRight = findViewById(R.id.selected).getRight() + selectPadding;