Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我是 Android 开发新手(请原谅这个基本问题),目前正在开发一个简单的应用程序。但是,当我运行应用程序时,除非我退出应用程序,否则屏幕会一直亮着。
运行大多数其他应用程序时,手机屏幕会在几分钟后自动关闭。如何设置它以在空闲一段时间后运行我的应用程序后自动关闭屏幕?
谢谢
取消勾选Stay awake设置->开发者设置。
Stay awake