feat: add phone session list + event log empty-shell screens

This commit is contained in:
2026-09-01 19:00:47 +08:00
parent 7dc1a2665f
commit 9458957de5
8 changed files with 123 additions and 2 deletions
@@ -0,0 +1,22 @@
<?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:orientation="vertical"
android:padding="16dp"
android:background="@color/deep_blue">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="事件流(空壳)"
android:textColor="@color/white"
android:textSize="20sp"
android:textStyle="bold" />
<ListView
android:id="@+id/event_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="12dp"
android:divider="@color/light_blue"
android:dividerHeight="1dp" />
</LinearLayout>
+14
View File
@@ -38,6 +38,20 @@
android:layout_marginTop="12dp"
android:text="@string/btn_settings" />
<Button
android:id="@+id/btn_sessions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/btn_sessions" />
<Button
android:id="@+id/btn_events"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/btn_events" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -0,0 +1,22 @@
<?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:orientation="vertical"
android:padding="16dp"
android:background="@color/deep_blue">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="会话列表(空壳)"
android:textColor="@color/white"
android:textSize="20sp"
android:textStyle="bold" />
<ListView
android:id="@+id/session_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="12dp"
android:divider="@color/light_blue"
android:dividerHeight="1dp" />
</LinearLayout>
+2
View File
@@ -4,6 +4,8 @@
<string name="status_disconnected">未连接(空壳)</string>
<string name="btn_refresh">刷新状态</string>
<string name="btn_settings">设置</string>
<string name="btn_sessions">会话列表</string>
<string name="btn_events">事件流</string>
<string name="settings_title">设置</string>
<string name="label_server">服务器地址</string>
<string name="hint_server">ws://host:port</string>