Posts by Alírio Mambo • 1 point
1 post
-
-1
votes3
answers2244
viewsA: Position Button in the center of a Linearlayout with layout_gravity
You can do it using Relativelayout. But if you really want to do with Linearlayout you can use android:layout_marginTop to center, but this approach may give problem in the future. <?xml…