0
在我的应用程序中,当我点击文本框的键盘显示时,接下来的文本字段有一个按钮。点击按钮显示操作表,但键盘没有隐藏,操作表显示在后面对于actionsheet键盘隐藏不起作用点击
if (bval == "productpic") {
if (!this.actions) {
this.actions = Ext.Viewport.add({
xtype: 'actionsheet',
style: 'background:#f3f3f3;',
items: [{
xtype: 'button',
ui: 'normal',
text: 'Take Photo',
scope: this,
handler: function() {
this.actions.hide();
capturePhoto();
}
}, {
xtype: 'button',
ui: 'normal',
text: 'Choose Existing Photo',
scope: this,
handler: function() {
this.actions.hide();
getPhoto(pictureSource.PHOTOLIBRARY);
}
}, {
xtype: 'button',
ui: 'decline',
text: 'Cancel',
scope: this,
handler: function() {
this.actions.hide();
}
}]
});
}
清单细节
android:hardwareAccelerated="true"
android:versionCode="1"
android:versionName="1.0"
android:windowSoftInputMode="stateAlwaysHidden" >
键盘
下面的代码如何隐藏按钮点键板的PhoneGap基于ndroid applciation?请帮我
它不是基于本地的应用程序。使用javascript – ioseve