ImageView in Custom Keyboard - android

i like to show an image view in my android custom keyboard (in app not a system keyboard). So far i tried adding one but it does not appear in the view. Do you know whether android supports adding custom views into a keyboard ?

Related

Gif Keyboard for Android

How would I go about creating a dynamic Gif keyboard for Android? I would like the user to scroll horizontally across the Gif's and possibly search across them via an integrated search bar in the keyboard
I've seen this link but it doesn't talk about dynamically changing the keys: How to make a Android custom keyboard?
In your InputMethodService there is a callback onCreateInputView()
You can create whatever custom view you want and return in there.
For horizontal scrolling, maybe look at view pager

Custom keyboard containing scrollview

I've been trying to create a custom android keyboard. I've started looking over "Creating an Input Method" guide from Google and I was able to create a regular keyboard using the Keyboard and KeyboardView elements.
The problem is that my keyboard needs a scrollview (or a recyclerview) so the user can scroll and see more items of the keyboard - but I don't think this can be achieved using the default Keyboard and KeyboardView elements.
I also tried to override the onCreateInputView method and add a custom layout that contained a scrollview - but the height of the keyboard was taking the entire screen and the user couldn't interact with the app anymore.
So if anyone has some ideas on how I can overcome this issues I would love to hear your suggestions.
Thanks

Custom keyboard like gif keyboard in android

I'm developing a custom Android keyboard like gif keyboard(https://play.google.com/store/apps/details?id=bo.pic.android.keyboard&hl=ko).
When i click a specific button, I want to change to A view. I cannot find a way to change to A view. Or is it not A view?

Adjust layout when soft keyboard is visible

I am developing an application for android devices, which manages TV channels and shows. In it there is an option for the user to add channels in the system using a custom widget. The widget uses autocompleteTextView. My layout does not adjust itself when the soft keyboard appears.
These are the 2 states of the layout:
The keyboard blocks the user from viewing the options in the dropdown and the field below it. I have already tried the solution here and here. But none of them got it to work.
I want to move the layout of the widget itself, rather then the whole layout behind. How to go about this problem?

Soft Keyboard will not show in graphical view

I am developing a softkeyboard I have tried several codes in the main.xml file but none of the codes display the keyboard in graphical view
Please Help
The soft keyboard won't show up in the graphical view because it is a custom view -- the graphical view is designed for basic android widgets only. When you start using anything but the main Android widgets (i.e. TextView, ScrollView, Button, etc.), you're going to have to code it in XML.
The keyboard's layout and drawing methods change dynamically based on the number of keys, the keyboard theme, key icons, etc. This happens at runtime and thus cannot be displayed before the app is run.

Categories

Resources