Android 3 sections layout with bottom buttons

I was looking for a layout solution as following:

  • ListView
  • BOTTOM section with functional buttons

Here is a good solution how to make header and bottom TextViews Android Layout with ListView between a “top bar” and “bottom bar”

But I needed also buttons in the bottom section.

So, I came up with the following layout view:

Buttons in the bottom section will be placed in line. Actually, this happens due to TableLayout usage. This allow you to place elements as you need it.