键盘ai角色,无数据显示2
This commit is contained in:
@@ -305,6 +305,62 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/noResultOverlay"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"
|
||||
android:visibility="gone"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:importantForAccessibility="no">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top|center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<!-- 顶部“可点击的头部区域”,点击可展开/收起 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/bottomSheetHeader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_48dp"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/sw_8dp"
|
||||
android:paddingBottom="@dimen/sw_8dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- 小横条指示器 -->
|
||||
<View
|
||||
android:layout_width="@dimen/sw_40dp"
|
||||
android:layout_height="@dimen/sw_4dp"
|
||||
android:background="@drawable/bs_handle_bg" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/noResultImage"
|
||||
android:layout_width="@dimen/sw_175dp"
|
||||
android:layout_height="@dimen/sw_177dp"
|
||||
android:src="@drawable/no_search_result"
|
||||
android:scaleType="fitCenter"
|
||||
android:contentDescription="@null"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/noResultText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/search_not_data"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:textColor="#1B1F1A"
|
||||
android:includeFontPadding="false" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
<!-- 浮动按钮 -->
|
||||
|
||||
Reference in New Issue
Block a user