[android-developers] Re: Completely disable Soft Keyboard from EditText

2012-09-14 Thread Favas
**Try this one, works fine for me:** public class CustomEdittext extends EditText { Boolean mIsTextEditor=true; public CustomEdittext(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub } @Override public boolean onCheckIsTextEditor() { //

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-15 Thread kahsa
I used TextView insted of EditText with - Focasable in touch mode: true - Style: @android:style/Widget.EditText, which is default EditText style, via res/values/mystyles.xml It looks like EditText but NO soft keyboards opened. However when set Input type to the TextView, soft keyboard is shown.

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-12 Thread zenperttu
Hari: this is exactly what I'd like to do. The EditText will be used to input a specific value with only certain units allowed. So I have extended android.inputmethodservice.Keyboard and use it together with android.inputmethodservice.KeyboardView so that the keyboard only shows the characters

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-06 Thread Hari Edo
I think he said he had a special soft keyboard that was to be used for this field. Sounds like he doesn't want to go through the whole hassle of creating an entire soft keyboard, nor creating all the caret- position and backspace-handling code necessary to reinvent EditView. I don't know the

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-05 Thread zenperttu
Hi! Thanks for your answer. Unfortunately setting editable=false does not do the trick. When I'm moving the focus via hard keys from a normal EditText to the View where I'd like not to have soft keyboard shown it still stays on the screen. ps. Sorry I didn't answer earlier, I couldn't find my

Re: [android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-05 Thread love mountain
ok please leason to me now i know like your about ok what is you live what is you name what is you work your about i don't no so sorry i see your bey bey On Sat, Feb 5, 2011 at 10:53 PM, zenperttu perttu.s...@gmail.com wrote: Hi! Thanks for your answer. Unfortunately setting editable=false

[android-developers] Re: Completely disable Soft Keyboard from EditText

2011-02-03 Thread Brill Pappin
There doesn't seem to be an ime option in EditorInfo to disable the soft keyboard. Can you make the view editable==false but still capture touch/select events? Making it non-editable may prevent the keyboard from popping up. - Brill Pappin On Feb 1, 1:29 pm, zenperttu perttu.s...@gmail.com