- 将应用名称从 SmartPlateCabinet 更改为 SmartTakePlate - 更新初始化页面背景图片为 bg_collect_page3 - 替换 View 组件为 Space 组件以优化布局权重分配 - 调整取盘按钮尺寸和文字大小提升用户体验 - 简化人脸识别登录页面布局结构 - 更新应用图标资源为 logo_launcher - 移除未使用的权限声明和活动注册 - 优化人脸识别相关 API 接口调用 - 调整时间显示逻辑仅保留时间部分 - 移除扫描枪事件监听相关功能代码 - 重构人脸识别数据更新逻辑 - 移除余额不足对话框相关代码
37 lines
1.1 KiB
Kotlin
37 lines
1.1 KiB
Kotlin
//package com.sw.platecabinet.dialog
|
|
//
|
|
//import android.app.Dialog
|
|
//import android.graphics.drawable.ColorDrawable
|
|
//import android.os.Bundle
|
|
//import android.view.Window
|
|
//import androidx.fragment.app.FragmentActivity
|
|
//import com.sw.platecabinet.databinding.DialogBalanceNotEnoughBinding
|
|
//import com.sw.platecabinet.ext.dp
|
|
//
|
|
//open class BalanceNotEnoughDialog(
|
|
// private var activity: FragmentActivity
|
|
//) : Dialog(activity) {
|
|
//
|
|
// private lateinit var binding: DialogBalanceNotEnoughBinding
|
|
//
|
|
// override fun onCreate(savedInstanceState: Bundle?) {
|
|
// super.onCreate(savedInstanceState)
|
|
// requestWindowFeature(Window.FEATURE_NO_TITLE)
|
|
// binding = DialogBalanceNotEnoughBinding.inflate(layoutInflater)
|
|
// setContentView(binding.root)
|
|
// window?.run {
|
|
// attributes = attributes.apply {
|
|
// width = 480.dp
|
|
// }
|
|
// setBackgroundDrawable(ColorDrawable())
|
|
// setCancelable(false)
|
|
// }
|
|
// addListener()
|
|
// }
|
|
//
|
|
// private fun addListener() {
|
|
// binding.tvConfirm.setOnClickListener { dismiss() }
|
|
// }
|
|
//
|
|
//}
|