如何在android中增加键盘高度
在我的活动中,我想增加键盘的高度,而不是按键之间的间距 到目前为止,我几乎没试过什么东西 首先,在XML文件中创建一个键盘视图如何在android中增加键盘高度,android,keyboard,android-keypad,Android,Keyboard,Android Keypad,在我的活动中,我想增加键盘的高度,而不是按键之间的间距 到目前为止,我几乎没试过什么东西 首先,在XML文件中创建一个键盘视图 <android.inputmethodservice.KeyboardView android:id="@+id/keyboardView" android:layout_width="match_parent" android:layout_height="match_parent" androi
<android.inputmethodservice.KeyboardView
android:id="@+id/keyboardView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:visibility="gone" />
它不起作用,我尝试了另一个例子
它也不起作用
我浏览了android开发者网站链接,在键盘视图中找到了一个方法
public Keyboard (Context context, int xmlLayoutResId, int modeId, int width, int height)
谁能帮我解决这个问题?如何增加键盘高度的大小
public Keyboard (Context context, int xmlLayoutResId, int modeId, int width, int height)