[FeedBack]修正编辑框imeOption='actionDone'不生效

This commit is contained in:
renwj
2022-03-21 11:47:51 +08:00
parent dcd7b7fcef
commit cb7da8f05c
3 changed files with 4 additions and 10 deletions

View File

@@ -26,6 +26,7 @@ import com.zhjt.mogo_core_function_devatools.badcase.repository.net.api.entity.B
import com.zhjt.mogo_core_function_devatools.feedback.biz.adapter.vh.base.FeedbackViewHolder
import com.zhjt.mogo_core_function_devatools.feedback.biz.bean.Feedback.BadCase
import com.zhjt.mogo_core_function_devatools.feedback.callback.IFeedbackCallback
import kotlin.Int.Companion
@SuppressLint("SetTextI18n")
@@ -78,6 +79,8 @@ internal class BadCaseFBViewHolder(cb: IFeedbackCallback?, parent: ViewGroup): F
}
return@setOnEditorActionListener false
}
et.maxLines = Int.MAX_VALUE
et.setHorizontallyScrolling(false)
et.watch(
200,
onCountChanged = {

View File

@@ -83,7 +83,7 @@
android:focusable="false"
android:gravity="start"
android:focusableInTouchMode="true"
android:inputType="textMultiLine"
android:inputType="text"
android:textSize="36px"
android:textColorHint="#4CFFFFFF"
android:imeOptions="actionDone"