音量键隐藏UI怎么弄成音量加显示音量间隐藏
lua吧
全部回复
仅看楼主
level 3
local c1setOnAudioListener(function()if not isUserdata(floatWindow) thenreturnend
local c2 = os.time()if not c1 or c2 - c1 > 0.5 thenc1 = c2luajava.runUiThread(function()local isGONE=floatWindow:getVisibility() == floatWindow.GONEif isGONE thenfloatWindow:setVisibility(floatWindow.VISIBLE)luajava.startThread(huizhi_1234)elsefloatWindow:setVisibility(floatWindow.GONE)draw.remove()endend)
endend)
2024年02月01日 22点02分 1
1