I wanna add 4 buttons to my custom keyboard (select all, cut, copy, paste) but I couldn't find the way of doing that. I have tried the select all using this line of code
getCurrentInputConnection().setSelection(0,1000);
but it didnt work, so is there any help for doing these 4 buttons (select all, cut, copy, paste) thanks