hide the keyboard at launching Settings
This commit is contained in:
parent
cc484ca0d6
commit
5e1d5dfca2
|
@ -128,6 +128,7 @@ class MainActivity : SimpleActivity() {
|
||||||
private fun getInactiveTabIndex() = if (view_pager.currentItem == 0) 1 else 0
|
private fun getInactiveTabIndex() = if (view_pager.currentItem == 0) 1 else 0
|
||||||
|
|
||||||
private fun launchSettings() {
|
private fun launchSettings() {
|
||||||
|
hideKeyboard()
|
||||||
startActivity(Intent(applicationContext, SettingsActivity::class.java))
|
startActivity(Intent(applicationContext, SettingsActivity::class.java))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue