• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Simplest way to implement spreadsheet-like GUI?

I am trying to create a GUI that looks kind of like this:
_____________
_|___|___|_|_|__
_|___|___|_|_|__

Each rectangle is a unique clickable View. Needs to scroll horizontally and vertically. Need to add or remove rows and columns at any position. Columns need to be the same width.

I have tried a ScrollView containing a HorizontalScrollView containing the table containing table rows, but only the first row is visible and scrolls horizontally. It doesn't scroll vertically.

I have tried a LinearLayout in a LinearLayout in a HorizontalScrollView in a ScrollView. It doesn't scroll.

No solutions I have found or tried have worked so far work. It is beginning to feel hopeless. I have been trying to get this working for over a week.

I am looking through the docs and developer guides and can't seem to find a suitable tool. Why does Android make something like this so complicated to make? It seems like a basic UI element.

What would be the easiest way to achieve a GUI like this?
 
Back
Top Bottom