- Home /
Set android:hardwareAccelerated="true" for input field on Android
I am using UGUI input field to input multiple lines on Android. But the text on the input field is being cut if having too much text. I found the problem was caused by the hardware acceleration on Android. So I need to set android:hardwareAccelerated="true"
in AndroidManifest for the virtual keyboard.
Since Unity mentions that setting android:hardwareAccelerated to true in the application layer will cause the performance regression. So I want to apply it to virtual keyboard only. Is there any way to do that?
In the picture, you can see the last line cannot show correctly. It can edit but didn't show on the virtual keyboard input field. When the cursor changed, the text got updated.
Your answer
Follow this Question
Related Questions
Click UI button while Android keyboard visible 0 Answers
Results For: How to leave control with Native UI when using Render Above Native UI on Andoid 0 Answers
Input field crashes on Android 4.1.2 (Unity 5.1.1f1) 0 Answers
Create UI Unity on UI Native Android has been render? 0 Answers
Input Field problem (Unity 4.6 UI) on LG G3 Android device 1 Answer