just want arrange neatly in a flag game: 3 flags images in a table row - repost 3

This project was successfully completed by stanleychg for $30 USD in 2 days.

Get free quotes for a project like this
Employer working
Project Budget
$30 USD
Completed In
2 days
Total Bids
Project Description

just want arrange neatly in a flag game:

3 flags images in a table row

Or 6 flags images in two rows or

Or 9 flags images in three rows

Problem with appearance of images other big other small…I want same height images but width vary/ good arrange/alignment/neatly, and not get out of phone screen… images have 5-15dp between themselves and between phone screen. vertical distance between table-rows should be 10dp.

Proceed send more info like xml files????

I inflated [url removed, login to view] with an ImageView but not get good sized images(see attached screenshot), how fix? I modified and used thereafter in [url removed, login to view] shrinkcolumns attribute(screen shot attached 2nd) and go all images in one line but others were below other upper baseline and between table rows there were big space....

[url removed, login to view]

[url removed, login to view]








[url removed, login to view] java file

LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);

// add 3, 6, or 9 answer Buttons based on the value of guessRows

for (int row = 0; row < guessRows; row++)


TableRow currentTableRow = getTableRow(row);

// place Buttons in currentTableRow

for (int column = 0; column < 3; column++)


// inflate [url removed, login to view] to create new Button

ImageView newGuessButton = (ImageView) [url removed, login to view](R.layout.guess_flag, null);

[url removed, login to view](false);

// get country name and set it as newGuessButton's text

String fileName = [url removed, login to view]((row * 3) + column);

setFlag(fileName, newGuessButton);

// register answerButtonListener to respond to button clicks

[url removed, login to view](guessButtonListener);

[url removed, login to view](newGuessButton);

} // end for

} // end for

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online