Edittext input text is not visible and I type in using soft keyboard but once I press next you button I am able to see the input value. code is working fine on older android versions but not on android pie.
Asked
Active
Viewed 3,677 times
10
-
3show us your code – Karthic Srinivasan Jan 03 '19 at 12:26
1 Answers
27
This seems to be an issue with Android Pie. I changed hardware acceleration to true in the manifest and it worked.
android:hardwareAccelerated="true"

maxuville
- 521
- 1
- 5
- 19
-
2Had the same issue where this solved it. However, in my case I was able to find one more alternative solution: constraint layout. This was causing the issue, so to speak. Removing (or upgrading it) would also resolve it. So, if for whatever reason you don't want to add that attribute, you may want to look up into refactoring your xml. – arhon Mar 11 '19 at 09:28
-
1
-
-
Hardware acceleration is enabled by default if your Target API level is >=14 https://developer.android.com/guide/topics/graphics/hardware-accel – iCantC Nov 10 '21 at 05:07