android - How to disable key preview in popup keyboard (not in main softkeyboard layout)? -


it's easy disable key previews: call setpreviewenabled(false) , these annoying tiny previews won't show anymore. if attach popup keyboard key these previews show inside popup:

qwerty.xml:

<key android:codes="101"      android:keylabel="e"      android:popupkeyboard="@xml/popup"    android:keytextsize="60sp"/> 

popup.xml:

<row>     <key android:codes="-10000"         android:keylabel="test"         android:keyoutputtext="test"/> </row> <row>     <key android:codes="-10001"         android:keylabel="test2"         android:keyoutputtext="test2"/> </row> 

can't post images, if long press letter 'e' , press test or test2 button show white key preview.

is there way disable these key previews too?

create customkeyboard setpreviewenabled(false) add rows inside customekeyboard in popup.xml below

<customkeyboard          xmlns:android="http://schemas.android.com/apk/res/android"         android:keywidth="10%p"         android:horizontalgap="0px"         android:verticalgap="0px"         android:keyheight="60px" >         <row><key android:codes="-10000"             android:keylabel="test"             android:keyoutputtext="test"/> </row>          <row><key android:codes="-10001"             android:keylabel="test2"             android:keyoutputtext="test2"/></row> </customkeyboard> 

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -