How to include keypad in layout?
i am creating app, which requeres to display keypad all the time. For window i layout described in *.xml. How i can add keypad to this view? for eg:
<开发者_JAVA技巧;layout>
<textView/>
<image/>
<keypad/>
</layout>
you cannot add the keyboard to your layout, and to force the keyboard to be always visible in a certain Activity by adding this to your activity
element in the manifest:
android:windowSoftInputMode="stateAlwaysVisible"
精彩评论