fixed some bugs

This commit is contained in:
2026-09-13 09:42:39 +08:00
parent 5856832eca
commit 1499db0ed7
5 changed files with 230 additions and 20 deletions

View File

@@ -449,8 +449,8 @@ class MainActivity : Activity() {
override fun onReplaySentence() {
testSession.stopDubbingIfNeeded()
testSession.refreshTestUi()
controller.playCurrentSentenceAndStop()
testSession.refreshTestUi()
}
override fun onNextSentence() {

View File

@@ -57,7 +57,7 @@ internal class SentenceExplanationOverlay(
setTextColor(SampleTheme.accentDeep)
textSize = 14f
setPadding(0, 8.dp, 0, 12.dp)
maxLines = 3
maxLines = 5
}
val message = TextView(activity).apply {
text = "AI 正在讲解这句话…"