Keyboard Development with Android Custom xml

Asked 2 years ago, Updated 2 years ago, 35 views

I am thinking of creating a custom IME using Android Studio.
Instead of occupying the bottom of the screen like the numeric keypad/qwerty layout since
AssistiveTouch on iOS or Hero Keyboard, Pie Control to create a keyboard that floats on the screen, allows you to change positions and resize freely, such as id=jun.ace.piecontrol&hl=ja"rel="nofollow noreferrer">JavaScript's mock" ="nofollow norereffer>" https://github.com/android/platform_development/tree/master/samples/SoftKeyboard"reffer="refferf"refferr"reffer"reffer"reffer <"reffer"re"re"reWould it be impossible to place the keyboard in a free position on the screen just by using ? Please advise.

android java

2022-09-30 16:40

1 Answers

It's not completely free, but it's possible.

You can change the LayoutParams x,y in the window you want to move.

Flag may be required for other purposes, but please refer to the following.
https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html


2022-09-30 16:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.