我有自定义
Android键盘:
public class CustomKeyboard extends Keyboard{...}
public class CustomKeyboardView extends KeyboardView{...}
public class CustomKeyboardIME extends InputMethodService implements KeyboardView.OnKeyboardActionListener{...}
在某些键上,我有弹出键盘和弹出窗口字符:
XML / key_popup.xml:
android:keyWidth="10%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height" >
但是当我长按“0”键弹出“)”显示,但是它保持在那里,直到我按“X”按钮或“”)字符.看起来像这样:
我只想在我握着手指的时候打开它.像三星或HTC键盘的东西
有人可以帮我吗
编辑是否至少可以更改此弹出窗口的外观?我想要它具有与我完成的整个键盘相同的背景和键/