fixed distribution of radiobuttons across defferent smartphone screen resolutions

fixed distribution of radiobuttons across defferent smartphone screen resolutions

I need an eight element radiobutton to always show as five buttons in one line and 3 in the next.

When it is unregulated, all depends on screen resolution, so that you get in the first line as many as will fit there - even all eight.

How to prevent this? The most barbarous, but effective way I can think of is table, but I would rather stay away. Grids seem too simplistic and would work with buttons rather than a set of radiobuttons.

Is there a neater, more obvious solution?