限制源编辑框的最大行数,滚动到其他输入框更容易,还有点问题,先改回
This commit is contained in:
1 parent
a3b9a17686
commit
4b7ecf75d1
2 files changed
+2
-3
No files matched your search
@@ -36,7 +36,7 @@ open class ScrollMultiAutoCompleteTextView @JvmOverloads constructor(
|
||||
override fun dispatchTouchEvent(event: MotionEvent): Boolean {
|
||||
if (event.action == MotionEvent.ACTION_DOWN) {
|
||||
//如果是新的按下事件,则对mBottomFlag重新初始化
|
||||
mBottomFlag = false
|
||||
mBottomFlag = lineCount <= maxLines
|
||||
}
|
||||
return super.dispatchTouchEvent(event)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user