I want to create a search bar like Gboard inside keyboard (Android IME) as shown in Image 1.
I have implemented an edittext on Keyboardview.xml as shown in Image 2.
But the problem is when i press the edittext 2 (that is outside my ime) then my ime is open that contains edittext 1 as shown in above picture now when i write some thing from my ime it writes on edittext 2 instead of edittext 1 so i want to know whats the problem behind this? is it with focus? or something else?
I have implemented an edittext on Keyboardview.xml as shown in Image 2.
But the problem is when i press the edittext 2 (that is outside my ime) then my ime is open that contains edittext 1 as shown in above picture now when i write some thing from my ime it writes on edittext 2 instead of edittext 1 so i want to know whats the problem behind this? is it with focus? or something else?