XML : Android How to achieve the following layout

I'm very new to Android App Development, and am trying to achieve the following button layout in Android Studio.

[App design[1]

Ive been trying to use a Linear Layout, but I couldn't get it right.

Just to clarafy what I want.

  • 2x8 Button layout.
  • Each button takes half of the screen.
  • A gap of around 10dp between buttons.

So the question is, how can I acheive my button layout in Android Studio with a Linear Layout or XML.

No comments:

Post a Comment