Reputation: 6335
For learning Android I'd like to write a tiny calculator application. At the bottom (of a vertical screen) I want to show a grid of buttons, at least 4 equal-wide rows and 5 equal-high columns. The application should run on Android 2.3 ("Gingerbread") or later. Is there a layout manager that could be used for that, especially down to 2.3 - or should I write my own one?
Upvotes: 0
Views: 52
Reputation: 6190
You can use android.widget.GridView
which was added in Added in API level 1 and will meet your expectations. Just FYI https://www.raywenderlich.com/127544/android-gridview-getting-started
Upvotes: 1