<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <TextView android:id="@+id/txt_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/goods_detail_spec_margin_top" android:text="温度" android:textColor="@color/textSecondPrimary" android:textSize="@dimen/ts_detail_spec" android:textStyle="bold" /> <com.ihaoin.hooloo.device.component.AutoWrapLayout android:id="@+id/layout_rules" android:layout_width="match_parent" android:layout_height="wrap_content" /> </LinearLayout>