|
|
@@ -4,33 +4,10 @@
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/codeTag"
|
|
|
- android:layout_width="90dp"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_gravity="left"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:maxLines="2"
|
|
|
- android:paddingLeft="@dimen/paddingMin"
|
|
|
- android:text="机型"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/codeTv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_toRightOf="@id/codeTag"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
<TextView
|
|
|
android:id="@+id/nameTag"
|
|
|
- android:layout_width="90dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="36dp"
|
|
|
- android:layout_below="@id/codeTag"
|
|
|
android:layout_gravity="left"
|
|
|
android:layout_marginRight="10dp"
|
|
|
android:ellipsize="end"
|
|
|
@@ -51,8 +28,8 @@
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/existqtyTag"
|
|
|
- android:layout_width="90dp"
|
|
|
+ android:id="@+id/specTag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="36dp"
|
|
|
android:layout_below="@id/nameTag"
|
|
|
android:layout_gravity="left"
|
|
|
@@ -61,40 +38,76 @@
|
|
|
android:gravity="center_vertical"
|
|
|
android:maxLines="2"
|
|
|
android:paddingLeft="@dimen/paddingMin"
|
|
|
- android:text="匹配设备数量"
|
|
|
+ android:text="设备规格"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/existqtyTv"
|
|
|
+ android:id="@+id/specTv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="36dp"
|
|
|
- android:layout_alignTop="@id/existqtyTag"
|
|
|
- android:layout_toRightOf="@id/existqtyTag"
|
|
|
+ android:layout_toRightOf="@id/specTag"
|
|
|
+ android:layout_alignTop="@id/specTag"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingLeft="10dp"
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/lackqtyTag"
|
|
|
- android:layout_width="90dp"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_below="@id/existqtyTag"
|
|
|
- android:layout_gravity="left"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:maxLines="2"
|
|
|
- android:paddingLeft="@dimen/paddingMin"
|
|
|
- android:text="欠缺设备数量"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/lackqtyTv"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:layout_alignTop="@id/lackqtyTag"
|
|
|
- android:layout_toRightOf="@id/lackqtyTag"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/specTag"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/existqtyTag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_gravity="left"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:maxLines="2"
|
|
|
+ android:paddingLeft="@dimen/paddingMin"
|
|
|
+ android:text="匹配数量"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/existqtyTv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_alignTop="@id/existqtyTag"
|
|
|
+ android:layout_marginRight="@dimen/padding"
|
|
|
+ android:layout_toRightOf="@id/existqtyTag"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/lackqtyTag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_below="@id/existqtyTag"
|
|
|
+ android:layout_gravity="left"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:maxLines="2"
|
|
|
+ android:paddingLeft="@dimen/paddingMin"
|
|
|
+ android:text="欠缺数量"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/lackqtyTv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_alignTop="@id/lackqtyTag"
|
|
|
+ android:layout_toRightOf="@id/lackqtyTag"
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</RelativeLayout>
|