123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/purple_f5"
- android:orientation="vertical"
- tools:context="com.zhong.inspection.ui.HardwareManagementFragment">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginRight="10dp"
- android:background="@color/white"
- android:orientation="horizontal"
- android:paddingLeft="5dp"
- android:paddingTop="10dp"
- android:paddingBottom="10dp">
- <RelativeLayout
- android:id="@+id/rel_view"
- android:layout_width="0dp"
- android:layout_height="40dp"
- android:layout_marginRight="2dp"
- android:layout_weight="0.3"
- android:background="@drawable/ic_menu_bgm"
- android:gravity="center_vertical"
- android:paddingRight="4dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:gravity="center_vertical"
- android:paddingLeft="5dp"
- android:text="实验室"
- android:textSize="12sp" />
- <ImageView
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:background="@mipmap/icon_kzjc_zk" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="40dp"
- android:layout_marginLeft="5dp"
- android:layout_weight="0.7"
- android:background="@drawable/shape_stroke_10">
- <ImageView
- android:id="@+id/img_01"
- android:visibility="gone"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="6dp"
- android:background="@mipmap/icon_sou_suo"
- android:padding="14dp" />
- <EditText
- android:id="@+id/ed_cont"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginLeft="5dp"
- android:layout_toRightOf="@+id/img_01"
- android:background="@null"
- android:imeOptions="actionSearch"
- android:padding="10dp"
- android:singleLine="true"
- android:hint="名称/型号"
- android:textSize="12sp" />
- <ImageView
- android:id="@+id/tvCancel"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_marginRight="6dp"
- android:padding="6dp"
- android:src="@mipmap/icon_clae" />
- </RelativeLayout>
- </LinearLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rv_recycler_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="10dp"
- android:layout_marginTop="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginBottom="20dp" />
- </LinearLayout>
|