We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
系统版本(必须)/ System version (required):Vivo V2158A 安卓11
库版本(必须)/ Library version (required):3.2.1
问题代码/截图(可选)/ Problem code or screenshot (optional):
TranslatingDialog中------------ -class TranslatingDialog(ctx: Context) : BasePopupWindow(ctx) { private val bd = DialogTranslatingBinding.inflate(LayoutInflater.from(context))
init { hideKeyboardOnShow(false)//弹窗时不收起键盘 hideKeyboardOnDismiss(false)//收起弹窗时不收起键盘 contentView = bd.root popupGravity = Gravity.CENTER setBackgroundColor(Color.TRANSPARENT) } }
Activity中:------------
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val translatingDialog = TranslatingDialog(this) imageView4.setOnClickListener { translatingDialog.showPopupWindow() } } -xml中:------------ -
问题描述/重现步骤请写在这里 Please write the description here. 点击EditeText弹起键盘,点击imageView弹窗,就会出现收起键盘然后马上拉起键盘的问题,必现
The text was updated successfully, but these errors were encountered:
+1,不过我们是弹窗后输入完手机号 显示loadding,键盘也是会收起然后重新弹出
Sorry, something went wrong.
No branches or pull requests
系统版本(必须)/ System version (required):Vivo V2158A 安卓11
库版本(必须)/ Library version (required):3.2.1
问题代码/截图(可选)/ Problem code or screenshot (optional):
TranslatingDialog中------------
-class TranslatingDialog(ctx: Context) : BasePopupWindow(ctx) {
private val bd = DialogTranslatingBinding.inflate(LayoutInflater.from(context))
init {
hideKeyboardOnShow(false)//弹窗时不收起键盘
hideKeyboardOnDismiss(false)//收起弹窗时不收起键盘
contentView = bd.root
popupGravity = Gravity.CENTER
setBackgroundColor(Color.TRANSPARENT)
}
}
Activity中:------------
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val translatingDialog = TranslatingDialog(this)
imageView4.setOnClickListener {
translatingDialog.showPopupWindow()
}
}
-xml中:------------
-
The text was updated successfully, but these errors were encountered: