#979 - Delayed sending

This commit is contained in:
Moez Bhatti
2018-04-30 02:57:04 -04:00
parent 504c0b3413
commit 0e52b290a0
21 changed files with 356 additions and 32 deletions
@@ -27,6 +27,7 @@ import android.view.View
import android.view.inputmethod.InputMethodManager
import android.widget.EditText
import android.widget.ImageView
import android.widget.ProgressBar
fun EditText.showKeyboard() {
requestFocus()
@@ -38,6 +39,10 @@ fun ImageView.setTint(color: Int) {
imageTintList = ColorStateList.valueOf(color)
}
fun ProgressBar.setTint(color: Int) {
progressTintList = ColorStateList.valueOf(color)
}
fun View.setBackgroundTint(color: Int) {
// API 21 doesn't support this