<?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="match_parent" android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:orientation="vertical" android:paddingTop="48dp" android:paddingBottom="0dp"> <ImageView android:layout_width="match_parent" android:layout_height="wrap_content" android:contentDescription="@string/logo" android:src="@mipmap/blank" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="暂无搜索记录~" android:textColor="@color/color_c8" android:textSize="12sp" /> </LinearLayout>