重新修改了 配置页面的内容,增加修改背景图片的按钮和修改状态栏的颜色的布局,具体功能没有完成。
This commit is contained in:
@@ -132,7 +132,7 @@ class SecondActivity : AppCompatActivity() {
|
||||
|
||||
// 获取并设置 URL 的 TextView 前景色和背景色
|
||||
val tvUrl = configView.findViewById<TextView>(R.id.tvUrl)
|
||||
tvUrl.text = "URL: ${config.url}"
|
||||
tvUrl.text = "URL: ${config.url.take(32)}..."
|
||||
tvUrl.setTextColor(Color.BLACK)
|
||||
|
||||
// 获取并设置 Key 的 TextView 前景色和背景色
|
||||
@@ -140,7 +140,6 @@ class SecondActivity : AppCompatActivity() {
|
||||
tvKey.text = "Key: ${config.key.take(4)}..."
|
||||
tvKey.setTextColor(Color.BLACK)
|
||||
|
||||
|
||||
// 获取并设置 SecretKey 的 TextView 前景色和背景色
|
||||
val tvSecretKey = configView.findViewById<TextView>(R.id.tvSecretKey)
|
||||
tvSecretKey.text = "Secret Key: ${config.secretKey.take(4)}..."
|
||||
|
||||
Reference in New Issue
Block a user