문제

In my application I have a autocomplete in first activity and some edittext in second activity.

When I run my code in emulator it works fine and I am not seeing any virtual keyboard on screen when program is excecuted.

But when I deploy it in device when the application loads, onfocus is directly on autocomplete and a keyboard pops out, and also when I navigate from first activity to second activity onfocus is on first edittext and keyboard pops out.

I want to disable this onfocus on all the page. how to do that ?

도움이 되었습니까?

해결책

다른 팁

That worked for me... I just put this line in the activity definition on Manifest.

 <activity
                ...
             android:windowSoftInputMode="stateHidden" >
 </activity>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top