MaterialEditText
MaterialEditText copied to clipboard
Keyboard does not appear after some actions (v2.0.3)
I have MaterianEditText in my Activity1. I call Activity2 from Activity1. After closing Activity2 there is no way to show keyboard when tapping on MaterianEditText (which is placed in Activity1). Keyboard doesn't appear.
Does this happen when you use EditText instead of MaterialEditText?
No. I am temporary using EditText instead of MaterialEditText exactly because of this problem. With EditText everything is ok.
Small notice: if you have 2 or more MaterialEditTexts in Activity1, you can tap another one and it works. So, if you have mEt1 and mEt2 in Activity1 and mEt1 is focused , then you show Activity2, close it, mEt1 is still focused but you cannot open keyboard. If you tap on mEt2 - you'll see the keyboard, then tap on mEt1 again - you'll also see the keyborad. But if there is only one MaterialEditText in your Activity - described trick doesn't work.
Clear description. I'll take a look. Thanks.
I've the same problem. There's only 1 MaterialEditText in my layout. After going to SettingsActivity and returning, MaterialEditText does not work. No errors that I can see in logcat.
Same issue for me. Just leaving a comment to track the issue progress.
Same issue for me. How to solve the problem?
Fixed in v2.1.4
. I just uploaded it, and it should be synced to Maven Central in several hours.
It's because of the clear button. Thanks to @onewilk for helping me repro this issue on my device in #201 .
Hi, Yes I have been verified, it is OK. Thanks.
I'm still experiencing errors with this. I have a single MaterialEditText in a single LinearLayout. Theme base is Theme.Holo, Android 4.4.4, no custom keyboard.
Strangely enough, I can long press and "paste" text into the field. After, if I try and touch the text ADB says: TextView does not support text selection. Action mode cancelled.
The sample app works.
Same issue here :disappointed: I forked today
@akbarsha03 the problem was that you have to use the AppCompat theme.
Same issue here! I have the 2.1.4 version
@hscissors you say that AppCompat is the way. Is too bad my entire project is based on Holo theme . So Do you know if they will fix this issue for Holo theme ?
Add these style into your values -> style :
Add these style into your Activity tag or application tag::
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen"
@daxeshzwt I confirm that your solution fixed the problem I got on a Samsung 4.4 👍 😄
I am facing the same issue and after spending more than 4 hours and I solved the issue by adding this property in the AndroidManifest.xml
file. I know it is different but it is working for me in the Samsung device.
android:hardwareAccelerated="true"