table layout size
I must need to use table layout. but i want table layout with fixed size when there is no record or two row. aft开发者_运维知识库er deleted that two records(row) size is fixed. and when more than two records(row) are added then size of table is increasing. table layout created on runtime. is it possible ? how? i create table layout at runtime and add row dynamically its working and also size is also increasing but when i put fixed size then the size is not increasing. Suggest me. Thanks
you can set the fixed size by design time in xml or programmatically set in code and check whether the rows>2 the change to wrap_content other set as fixed size
精彩评论