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

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

Habilidades: Android

Ver más: two string problem, screenshot with android, screenshot on android, screenshot in android, screenshot for android, same game java, java same game, java distance, imageview android, how to screenshot on android phone, how to screenshot on android, how to screenshot on an android phone, how to screenshot on an android, how to screenshot android, context android, android table layout, android string, android screen shot, android context, flag

Información del empleador:
( 2 comentarios ) Polis, Cyprus

Nº del proyecto: #4177327

Adjudicado a:


Hello polis123, nice to meet you. I may be able to provide you with a neat solution to your problem. In the PMB is an attached screenshot of a potential way for you to organize your flags through a Table Row in a pleas Más

$30 USD en 2 días
(3 comentarios)

2 freelancers están ofertando el promedio de $30 para este trabajo


Having 7+ years of experience in delivering various IT solutions in various [login to view URL] are having a team of experience developers & designers , constantly striving to come up with the best products for various platfo Más

$30 USD en 3 días
(0 comentarios)