I have set a textview gravity with
android:gravity="bottom | center"
and VS Studio complains with the the following error when I try to compile:
Error 1 String types not allowed (at 'gravity' with value 'bottom | center').
However the designer works fine and display the text correctly at the bottom of my textview and centered!
Any idea why?