CitySelect
CitySelect copied to clipboard
字母标题不居中
字母标题不居中
解决方式: 下载源码修改CustomItemDecoration类里面的82行和127行分别为 float y = view.getTop() - params.topMargin - (mTitleHeight - textRect.height()) / 2; float y = parent.getPaddingTop() + mTitleHeight - (mTitleHeight / 2 - textRect.height() / 2);