我像'layoutoptlayout.xml'一样使用layoutopt我收到这条消息:9:18Thistaganditschildrencanbereplacedbyoneandacompounddrawable28:78Useanandroid:layout_heightof0dipinsteadofwrap_contentforbetterperformance但是我不明白是什么意思,谁能帮我解释一下在什么上使用0dip?在布局上?我希望我的布局将内容包裹起来,使其高度不为零 最佳答案 第一条消息说你可以用TextView替换