|
|
@@ -2,7 +2,7 @@
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:id="@+id/cont"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="35dp"
|
|
|
+ android:layout_height="44dp"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
@@ -14,58 +14,58 @@
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/chemicalName"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="0.95"
|
|
|
android:gravity="center"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/tagCode"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="0.95"
|
|
|
android:gravity="center"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/rfidCode"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="2.4"
|
|
|
android:gravity="center"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="10sp"
|
|
|
+ android:textSize="9sp"
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/specNum"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="0.8"
|
|
|
android:gravity="center"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:ellipsize="end"
|
|
|
- android:maxLines="1"
|
|
|
android:id="@+id/belongName"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="0.9"
|
|
|
android:gravity="center"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="10sp" />
|
|
|
</LinearLayout>
|
|
|
@@ -75,4 +75,4 @@
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:background="@color/purple_FFE0E0E0" />
|
|
|
-</RelativeLayout>
|
|
|
+</RelativeLayout>
|