1

I'm using translucent toolbars in my app and have applied the following settings:

    <item name="android:windowTranslucentStatus">true</item>
    <item name="android:fitsSystemWindows">true</item>

This works as expected, however when I display any error messages on my EditTexts via setError, the error message is not aligned properly. For example, here is an error message when fitsSystemWindows is true:

enter image description here

Here is an error message when fitsSystemWindows is false:

enter image description here

Any ideas on how to get the alignment correct when fitsSystemWindows=true?

bmurmistro
  • 1,070
  • 1
  • 16
  • 35

0 Answers0