最佳答案
经过长时间的努力,我终于发现了 onMeasure()
方法中的库。
measuredHeight = (int)(measuredHeight/1.5);
setMeasuredDimension(
//We clamp inline because we want to use un-clamped versions on the children
clampSize(measuredWidth, widthMeasureSpec),
clampSize(measuredHeight, heightMeasureSpec));
关于java - Material 日历 View 高度环绕问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50508548/