Hello! I decided to make for myself a simplified version of "Sea Battle" for Android.
Faced such a problem: how to make a fixed 10x10 table?
GridView makes an error, they say, I can not find the support library (and gives an error when I try to download it)

Are there any other options? Here's what I would like to get in the end:

img1

    1 answer 1

    The dumbest method in the forehead is to draw the png of the size you need, and in the loop add buttons with the background of the png itself to LinearLayout.

    And what about support lib, you can download it via the Android SDK and only then connect the jar to the project.

    • Now support lib should be automatically added when creating a project and it is better to use a GridView. You will need to write your own apapter. - Gorets