How to implement on screen keyboard with Compose?
# compose
a
How to implement on screen keyboard with Compose?
j
Not sure what you are trying to do here? You want to write your own keyboard?
a
Implement a screen like this.
j
Ok. That is just a column of rows of circular buttons.
so should be fairly non complex to lay out
a
Yes, but how to perform key press event?
j
every button has a click listener which you can react to
a
I was expecting APIs like InputConnection, but I didn't find any.
c
@Alan Yin have you gotten a plain old button working? If you get a plain old button working then implementing a dialier like above should be trivial.
z
You can also look at the implementation of Button for clues about how to write your own