Browse Source

1.解锁时隐藏键盘

20241218TB223FC(测试jar包)
wangwanlei 9 months ago
parent
commit
5c9bedd490

+ 2
- 0
app/src/main/java/com/xhly/manageapp/ui/main/activity/MainActivity.kt View File

645
         viewModel.postWallpaperPad()
645
         viewModel.postWallpaperPad()
646
         viewModel.updateStrategy()
646
         viewModel.updateStrategy()
647
         viewModel.uploadAppStrategy()
647
         viewModel.uploadAppStrategy()
648
+        //直接在请求学校设置时使用这个请求
648
        /* viewModel.getAppList()*/
649
        /* viewModel.getAppList()*/
649
         viewModel.postAppNetWhiteList()
650
         viewModel.postAppNetWhiteList()
650
         useTimeStrategy()
651
         useTimeStrategy()
821
             } else {
822
             } else {
822
                 mBinding.mainLlayout.visibility = View.VISIBLE
823
                 mBinding.mainLlayout.visibility = View.VISIBLE
823
                 mBinding.lockLlayout.visibility = View.GONE
824
                 mBinding.lockLlayout.visibility = View.GONE
825
+                hiddenSoft(mBinding.lockEt)
824
             }
826
             }
825
             //如果同时锁定和平板不再可用时间,优先显示锁定提示,锁定接触后显示不再可用时间提示
827
             //如果同时锁定和平板不再可用时间,优先显示锁定提示,锁定接触后显示不再可用时间提示
826
             mBinding.locktipsTv.text=if (param){
828
             mBinding.locktipsTv.text=if (param){

Loading…
Cancel
Save