how to increase keyboard height in android -


in activity, want increase height of keyboard, not space between keys.

i have tried few things far.

first, created keyboard view in xml file.

<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" /> 

and called same thing in java code

 mkeyboardview = (keyboardview) findviewbyid(r.id.keyboardview);     mkeyboardview.setpreviewenabled(true);  public void hidecustomkeyboard() {     mkeyboardview.setvisibility(view.gone);     mkeyboardview.setenabled(false); }  public void showcustomkeyboard(view v) {     mkeyboardview.setvisibility(view.visible);     mkeyboardview.setenabled(true);     if (v != null)         ((inputmethodmanager) getsystemservice(activity.input_method_service)).hidesoftinputfromwindow(v.getwindowtoken(), 0); }  public boolean iscustomkeyboardvisible() {     return mkeyboardview.getvisibility() == view.visible; } 

it not working , tried example

tried link not working

i have gone through android developer site link , found 1 method in keyboard view

public keyboard (context context, int xmllayoutresid, int modeid, int width, int height) 

ref link

could me solve problem? how increase size of keyboard height.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -