feat: App内显示版本号 v0.1.0-dav-android-7-debug

This commit is contained in:
LukeMackin
2026-07-19 21:27:06 +08:00
parent b70c5015a0
commit e8f00faf41
8 changed files with 10 additions and 2 deletions

View File

@@ -36,12 +36,20 @@ class MainActivity : AppCompatActivity() {
} }
val title = TextView(this).apply { val title = TextView(this).apply {
text = "Yuzu GCA v0.1.0" text = "Yuzu GCA"
textSize = 20f textSize = 20f
setPadding(0, 0, 0, 8) setPadding(0, 0, 0, 4)
} }
layout.addView(title) layout.addView(title)
val versionInfo = TextView(this).apply {
text = "v0.1.0-dav-android-7-debug"
textSize = 12f
setTextColor(Color.GRAY)
setPadding(0, 0, 0, 12)
}
layout.addView(versionInfo)
val channelLabel = TextView(this).apply { val channelLabel = TextView(this).apply {
text = "选择更新渠道:" text = "选择更新渠道:"
textSize = 13f textSize = 13f