实习笔记-9

APP新手蒙层引导

实现方式1

SmartGuideView库

TourGuide库

使用Dialog自定义

显示软键盘

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
binding.etSearchSearchBar.postDelayed({
runOnUiThread {
binding.etSearchSearchBar.apply {
isFocusable = true
isFocusableInTouchMode = true
requestFocus()
findFocus()
}
val inputManager =
getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
inputManager.showSoftInput(
binding.etSearchSearchBar,
InputMethodManager.SHOW_IMPLICIT
)
}
}, 300)
作者

Meow Meow Liu

发布于

2022-03-22

更新于

2024-04-23

许可协议

评论