Looking for a simple method for displaying tables in android, using App Inventor

tahwos picture tahwos · Nov 8, 2012 · Viewed 8.4k times · Source

I have been using App Inventor at the MIT website, to make simple calculators for estimating at work. Predetermined formulas are embedded into the apps, that allow for the conversion of user inputted data, into usable information - much quicker and more reliable than doing it manually, with a regular calculator.

What I would like to do next, is make scrollable reference charts from standardized data - like an AWG chart. The columns can be wire gauge, wire diameter, wire weight per foot, etc. The rows would just be the different wire sizes - i.e. 8 gauge, 10 gauge, 12 gauge, etc..

Currently, each "cell" of the chart is an individual text label.

A table arrangement will not work, as it will not scale the individual columns to width of the screen - only to the width of the largest item in each column. So far, individual rows of horizontal arrangements seems to be the only solution - as it will scale and center each column, spacing them evenly across the entire width of the screen - but it is still very time consuming.

Any "better" suggestions on how to get a scrollable table on Android via App Inventor would be much appreciated. I may already be on the right track, and the arduousness of the task ahead is just that intimidating.

Answer

Taifun picture Taifun · Nov 9, 2012

I prepared another example for you, which uses 1 horizonal arrangement and 2 labels (1 label for each column) assuming the data is stored in 2 lists enter image description here

enter image description here