mirror of
https://github.com/Nezumi-2711/PRM392.git
synced 2026-09-22 20:00:53 +00:00
Update apk
This commit is contained in:
@@ -71,11 +71,13 @@ class UpdateDialogActivity : AppCompatActivity(), View.OnClickListener {
|
||||
val tvTitle = findViewById<TextView>(R.id.tv_title)
|
||||
val tvSize = findViewById<TextView>(R.id.tv_size)
|
||||
val tvDescription = findViewById<TextView>(R.id.tv_description)
|
||||
|
||||
progressBar = findViewById(R.id.np_bar)
|
||||
btnUpdate = findViewById(R.id.btn_update)
|
||||
progressBar.visibility = View.VISIBLE
|
||||
btnUpdate.tag = 0
|
||||
btnUpdate.setOnClickListener(this)
|
||||
progressBar.visibility = View.GONE
|
||||
ibClose.setOnClickListener(this)
|
||||
if (manager.dialogImage != -1) {
|
||||
ivBg.setBackgroundResource(manager.dialogImage)
|
||||
@@ -133,6 +135,7 @@ class UpdateDialogActivity : AppCompatActivity(), View.OnClickListener {
|
||||
return
|
||||
}
|
||||
if (!manager.forcedUpgrade) {
|
||||
progressBar.visibility = View.VISIBLE
|
||||
btnUpdate.isEnabled = false
|
||||
btnUpdate.text = resources.getString(R.string.background_downloading)
|
||||
} else {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<string name="start_download_hint">Bạn có thể kiểm tra tiến trình tải sau ít phút!</string>
|
||||
<string name="start_downloading">Tải phiên bản mới</string>
|
||||
<string name="download_completed">Đã tải xong</string>
|
||||
<string name="click_hint">Nhấn đề cài đặt</string>
|
||||
<string name="click_hint">Nhấn để cài đặt</string>
|
||||
<string name="download_error">Tải bị lỗi</string>
|
||||
<string name="continue_downloading">Nhấn để tiếp tục tải</string>
|
||||
<string name="background_downloading">Ứng dụng đang được tải ...</string>
|
||||
|
||||
Reference in New Issue
Block a user