android - How to define a width in the table row in a table layout equals to the header -


in app have fragment uses tablelayout. define header of table in xml , add table rows when instantiate fragment. using data database.

when add table row width not equal of first table row ( header ).

how can define same width rows? have define constant width?

to solve problem created separate xml represents lines in layout. so, in tablelayout add line using include tag header. , rest of lines create during runtime.

useful link: http://developer.android.com/training/improving-layouts/reusing-layouts.html


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -