键盘ai角色,无数据显示2
This commit is contained in:
45
app/src/main/res/layout/airole_panel.xml
Normal file
45
app/src/main/res/layout/airole_panel.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.example.myapplication.keyboard.FixedHeightFrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/airole_panel_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
|
||||
<!-- 消息列表 -->
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/airole_panel_messages"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="@dimen/sw_8dp"
|
||||
android:paddingBottom="@dimen/sw_8dp"
|
||||
android:overScrollMode="always" />
|
||||
|
||||
<!-- 未登录提示 -->
|
||||
<TextView
|
||||
android:id="@+id/airole_panel_login_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_200dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/Pop_up_window_ai_1"
|
||||
android:textColor="#999999"
|
||||
android:textSize="@dimen/sw_14sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<!-- 关闭按钮(右上角,叠在消息列表上方) -->
|
||||
<ImageView
|
||||
android:id="@+id/airole_panel_close"
|
||||
android:layout_width="@dimen/sw_30dp"
|
||||
android:layout_height="@dimen/sw_30dp"
|
||||
android:layout_gravity="top|end"
|
||||
android:layout_marginTop="@dimen/sw_8dp"
|
||||
android:layout_marginEnd="@dimen/sw_8dp"
|
||||
android:padding="@dimen/sw_4dp"
|
||||
android:src="@android:drawable/ic_menu_close_clear_cancel"
|
||||
android:contentDescription="close"
|
||||
android:clickable="true"
|
||||
android:focusable="true" />
|
||||
|
||||
</com.example.myapplication.keyboard.FixedHeightFrameLayout>
|
||||
Reference in New Issue
Block a user