在android-pickerView 的基础上进行了部分修改, 主要添加了对字体长度的判读已达到字长时显示小字体字短时显示大字体
String contentText = getContentText(visibles[counter]);
// my added code here
if (contentText.length() < 5) setTextSize(18);
else if (contentText.length() >= 5 && contentText.length() < 7) setTextSize(15);
else if (contentText.length() >= 7) setTextSize(11);
- WheelView
- androidWheelView
- Android-PickerView