Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

feat(android): the floating window has a button that goes back to the listening screen in Cicada

wquguru0af03b8e29d8
diff --git a/android/app/src/main/kotlin/com/wquguru/cicada/Overlay.kt b/android/app/src/main/kotlin/com/wquguru/cicada/Overlay.kt
index 5b93b09..e618f68 100644
--- a/android/app/src/main/kotlin/com/wquguru/cicada/Overlay.kt
+++ b/android/app/src/main/kotlin/com/wquguru/cicada/Overlay.kt
@@ -126,6 +126,9 @@ class Overlay(private val app: CicadaApp) {
addView(clock(if (dark) Palette.onScrim else Palette.ink), LinearLayout.LayoutParams(-2, -2).apply { leftMargin = ui.dp(8) })
if (app.settings.showInCapture) addView(ui.badge(L("对方可见")), LinearLayout.LayoutParams(-2, -2).apply { leftMargin = ui.dp(8) })
addView(ui.spacer())
+ // Back to 正在听 in Cicada (the full notes, 结束): without it the only way was the
+ // notification or the launcher. A video that does picture-in-picture keeps playing.
+ addView(ui.iconButton(R.drawable.i_external, L("回到正在听"), fg, 20, dark) { app.openLive() })
addView(if (subtitles) ui.iconButton(R.drawable.i_list, L("换成纪要"), fg, 20, dark) { app.setView("notes") }
else ui.iconButton(R.drawable.i_captions, L("换成字幕条"), fg, 22, dark) { app.setView("subtitles") })
addView(ui.iconButton(R.drawable.i_chevron_down, L("收起成小圆点"), fg, 22, dark) { collapsed = true; rebuild() })
diff --git a/site/changelog.json b/site/changelog.json
index 3765354..038c3cd 100644
--- a/site/changelog.json
+++ b/site/changelog.json
@@ -26,6 +26,14 @@
],
"title": "Windows、Linux、Android 上,风扇声、电流声不再变成凭空编出的英文句子。",
"text": "持续不变的底噪不再送去识别,只有忽高忽低的人声才会。"
+ },
+ {
+ "kind": "improved",
+ "platforms": [
+ "android"
+ ],
+ "title": "Android 悬浮窗加了回到知了的按钮。",
+ "text": "点悬浮窗顶上的按钮,直接回到正在听的页面,看完整纪要或结束会议。"
}
]
},