ztonaz

*Last 24 hours - Euro currency

Monday, June 1, 2020

Quick annoying begginer tip #1 in Android Studio(Java) - Text Above Button




If you want a TextView to appear in front of a button you can't do it just by ordering in Android Studio layout. I don't know why they didn't add this feature so far. If there is any big technical inconvenience someone can tell me about it?

So, you can do it in XML file by adding the property on your textView:
android:elevation="100dp"

or programmatically:
ViewCompat.setElevation(yourTextView, floatNumber)

No comments:

Post a Comment