android - textview occupies the default size after getting network data and filling it, and the content will not be wrapped until clicked.
phpcn_u1582
phpcn_u1582 2017-05-16 13:26:57
0
3
789

When I get the data from the network, the data will not be wrapped after filling it into the textview!
This picture is not given to the textview. This is text.` <TextView

        android:id="@+id/goods_count_price"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginRight="@dimen/dp_20"
        android:layout_toLeftOf="@+id/btn_settlement"
        android:textColor="@color/colorBg"
        android:textSize="@dimen/sp_16" />`


This picture sets textview for textview, but the wrapping effect is not achieved before clicking.

The first one does not have text set, and there will be no response if you click it or not. The second one has text set, and the wrapping effect will only occur after clicking.

phpcn_u1582
phpcn_u1582

reply all(3)
Peter_Zhu

Can you describe it in detail?

PHPzhong

I don’t understand what it means. The price below is in the wrong position?

迷茫

Package? ? ? Can you describe your problem in detail?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template