Search code examples
androidapache-flexmobilefontstextinput

Flex mobile text from hidden TextInput still visible


I have weird bug with Flex TextInputs. I'm using Flex 4.9.0 in my Android app. App has view navigator in group component. I add custom popup by inserting it as a child of that group. Popup covers view in view navigator and everything seems fine. Unfortunently text from TextInputs in view is still visible and selectable. How is this possible? I thought that depths in Flex are sacred :/ I've embed font, but that hasn't changed anything.

Here is the image with this bug.

enter image description here


Solution

  • Sounds like you're using the "StageText" TextInput skin. It is always on top of everything else. You have to switch to the Flash TextField TextInput skin.

    I wrote an in depth blog post on this. The work around is to switch back to the old TextInput skin:

    <textInput skinClass="spark.skins.mobile.TextInputSkin" />