mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-17 20:20:53 +01:00
lets not open the keyboard initially at opening a conversation
This commit is contained in:
parent
0e6f8e1dbf
commit
3b83e93192
@ -5,7 +5,10 @@ import android.content.Intent
|
|||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.provider.Telephony
|
import android.provider.Telephony
|
||||||
import android.telephony.SmsManager
|
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.view.inputmethod.EditorInfo
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import android.widget.RelativeLayout
|
import android.widget.RelativeLayout
|
||||||
@ -146,9 +149,6 @@ class ThreadActivity : SimpleActivity() {
|
|||||||
thread_send_message.isClickable = it.isNotEmpty()
|
thread_send_message.isClickable = it.isNotEmpty()
|
||||||
thread_send_message.alpha = if (it.isEmpty()) 0.4f else 0.9f
|
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() {
|
private fun askConfirmDelete() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user