xml - Android TableLayout with 2 ImageViews in each TableRow -


The colleagues, what you can do to set me up in ImageViews, explains responsible for getting such a screen ?

Enter image details here

In my huge Android app XML code for this activity: I hereby post it to avoid , there is not much context in your post to explain the code sections; Explain more clearly about your scenario. ............ Lorem Ipsum sits in AMET, consectetur adipisicing changes, SED taxes and laborers to work in the labor market, and dolore magna aliqua. To go to some places, we can not leave any work to get rid of our work. A small copy of any kind has been detected that it can be opened in any form. Excepteur Sint occasecat cupidatat non proident, which can be used in the laboratory of an independent laboratory.

  & lt; TableRow Android:. Layout_width = "wrap_content" Android: layout_height = "wrap_content" android: background = "# D63B40" Android: Leaut_vet = "0.15" & gt; & Lt; imageView android: id = "@ + id / img1" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; imageView android: id = "@ + id / r1" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; / TableRow & gt; & Lt; TableRow android: id = "@ + id / tableRow2" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: background = "# 88CB5B" Android: layout_weight = "0.14" & gt; & Lt; imageView android: id = "@ + id / img2" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; imageView android: id = "@ + id / r2" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; / TableRow & gt; & Lt; TableRow android: id = "@ + id / tableRow3" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: background = "# E8D751" Android: layout_weight = "0.14" & gt; & Lt; imageView android: id = "@ + id / 3" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; imageView android: id = "@ + id / R3" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: src = "@ drawable / n" android: background = "@ null" / & gt; & Lt; / TableRow & gt; & Lt; TableRow android: id = "@ + id / tableRow4" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: background = "# 9554B6" Android: layout_weight = "0.14" & gt; & Lt; ImageView Android: Eddie = "@ + id / 4" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" Android: src = "@ drawable / N" android: background = "@ null" / & gt; Android: Android: Android: Android: Leaut_vind = "Mac_perent" Android: Layout_height = "Match_parent" Android: src = "@ drawable / N" android: background = "@ null" / & gt; & Lt; / TableRow & gt; & Lt; / TableLayout & gt;   

Image 1, 2, 3, 4 and A, B, C, D are the imagery.

Use a list view , then custom adapter < Using / strong> you can add two images (in ur position) to the list. This will help you work with link adapter

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -