Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How do you use a KeyboardView in Android?

$
0
0

Hello all!

I'm trying to instantiate a KeyboardView and make the keyboard appear onscreen.

I for the life of me can't figure this out. I've searched through the docs and it says to even instantiate a KeyboardView you need an IAttributeSet. I'm just lost right now and wondering if anyone can help.

ALSO, why can't I use a Keyboard View in XML like the example I found like this:

<android.inputmethodservice.KeyboardView
        android:id="@+id/keyboardview"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:visibility="gone" />

Thank you!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>