android - 关于tablerow,它的高度设置了定值,仍然是wrap content的效果呢??
黄舟
黄舟 2017-04-17 17:13:39
0
1
427
  
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all (1)
左手右手慢动作

The children of a TableRow do not need to specify the layout_width and layout_height attributes in the XML file. TableRow always enforces those values to be respectively MATCH_PARENT and WRAP_CONTENT.

意思就是如果子对象是TableRow 那么他的高度永远是wrap_content.所以你设置也没有用。

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!