Dark theme

This commit is contained in:
2021-02-20 23:21:25 +03:00
parent 88dddcb133
commit 06aa41cab1
179 changed files with 1011 additions and 1133 deletions
@@ -0,0 +1,16 @@
package com.meloda.fast.util
import android.view.View
import com.meloda.fast.common.AppGlobal
object KeyboardUtils {
fun hideKeyboardFrom(view: View) {
AppGlobal.inputMethodManager.hideSoftInputFromWindow(view.windowToken, 0)
}
fun showKeyboard(focusedView: View) {
AppGlobal.inputMethodManager.showSoftInput(focusedView, 0)
}
}