I am creating an app that displays announcements, and I want to add a login. I am trying to make this XML design,
I have read every answer here and I have discarded every single becouse the following motives
LinearLayoutSo, finally I have solved my problem just wrapping the Button in another ConstraintLayout and adding some elevation to this ConstraintLayout
Here is my result
Here is a working sample