flowlayout的height設(shè)置成wrapcontent,但是背景色是全屏的,打印了height是為-2的,這是怎么回事?
? ? <xianjie.shen.flowlayout.FlowLayout
? ? ? ? android:padding="10dp"
? ? ? ? android:id="@+id/id_flowLayout"
? ? ? ? android:layout_width="500dp"
? ? ? ? android:layout_height="wrap_content"
? ? ? ? android:background="#15F2FC" >
? ? </xianjie.shen.flowlayout.FlowLayout>
2016-01-16
2016-01-16
2016-01-16
wrap_context對(duì)應(yīng)的就是-2,