forked from upstream-mirrors/quik
#979 - Delayed sending
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user