lets not open the keyboard initially at opening a conversation

This commit is contained in:
tibbi 2020-04-07 12:24:49 +02:00
parent 0e6f8e1dbf
commit 3b83e93192
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,10 @@ import android.content.Intent
import android.os.Bundle
import android.provider.Telephony
import android.telephony.SmsManager
import android.view.*
import android.view.Gravity
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.inputmethod.EditorInfo
import android.widget.LinearLayout
import android.widget.RelativeLayout
@ -146,9 +149,6 @@ class ThreadActivity : SimpleActivity() {
thread_send_message.isClickable = it.isNotEmpty()
thread_send_message.alpha = if (it.isEmpty()) 0.4f else 0.9f
}
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
thread_type_message.requestFocus()
}
private fun askConfirmDelete() {