tablelayout - android table layout rowspan -


I want to create the following layout but it is not working.

  & lt; LinearLayout Android: Orientation = "Horizontal" ... & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; Table layout ... & gt; & Lt; TableRow .. & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; / TableRow & gt; & Lt; TableRow .. & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; / TableRow & gt; & Lt; / TableLayout & gt; & Lt; ImageView ... & gt; & Lt; / ImageView & gt; & Lt; / LinearLayout & gt;  

I keep this together really high, try it:

alt text

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: Orientation = "Horizontal" Android: layout_width = "fill_parent" Android: layout_height = "fill_parent" & gt; & Lt; ImageView Android: Layout_Wind = "50 DP" Android: Layout_Hehat = "100 DP" Android: Background = "# CC0000" /> & Lt; TableLayout Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; TableRow & gt; & Lt; ImageView Android: layout_width = "50dip" Android: layout_height = "50dip" Android: background = "# aaaa00" /> & Lt; ImageView Android: Layout_Wind = "50 DP" Android: Layout_Hehat = "50 DP" Android: Background = "# 00aa00" /> & Lt; ImageView Android: layout_width = "50dip" Android: layout_height = "50dip" Android: background = "# aaaa00" /> & Lt; / TableRow & gt; & Lt; TableRow & gt; & Lt; ImageView Android: Layout_Wind = "50 DP" Android: Layout_Hehat = "50 DP" Android: Background = "# 00aa00" /> & Lt; ImageView Android: layout_width = "50dip" Android: layout_height = "50dip" Android: background = "# aaaa00" /> & Lt; ImageView Android: Layout_Wind = "50 DP" Android: Layout_Hehat = "50 DP" Android: Background = "# 00aa00" /> & Lt; / TableRow & gt; & Lt; / TableLayout & gt; & Lt; ImageView Android: Layout_Wind = "50 DP" Android: Layout_Hehat = "100 DP" Android: Background = "# CC0000" /> & Lt; / LinearLayout & gt;  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -