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.
GPS情報を含むビューがあります。アプリ内にGPSのON/OFFスイッチがついていVISIBLEます。GONE私setKeepScreenOn(true)はこのビューを呼び出して、画面をオンにしておくようにしたいのですが、そのときだけでありVISIBLE、そうでないときだけですGONE。
VISIBLE
GONE
setKeepScreenOn(true)