강의

멘토링

커뮤니티

Inflearn Community Q&A

daalzzwi's profile image
daalzzwi

asked

[Beginner Level] Learn Android Kotlin by Building 8 Apps

Making a Quotes App: Introduction and Layout Setup

선생님 statusBar은 Invisible 시키거나 hide처리 가능할까요?

Written on

·

251

0

선생님 statusBar은 Invisible 시키거나 hide처리 가능할까요?

statusbarfirebaseandroidkotlin

Answer 2

1

daalzzwi님의 프로필 이미지
daalzzwi
Questioner

감사합니다 
https://developer.android.com/training/system-ui/status

이게 제대로 돌아갑니다^^

저처럼 맨위에 StatusBar 숨기고 싶은분들은 아래 코드를 onCreate 프로퍼티로 넣으면 좋을꺼 같습니다 ㅎ

window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_FULLSCREEN
actionBar?.hide()

 

1

bokchi님의 프로필 이미지
bokchi
Instructor

안녕하세요 다알쥐님

참고하시면 좋을 링크 첨부드려요 :)

 

https://developer.android.com/training/system-ui/status

https://codechacha.com/ko/hide-statusbar/

https://karl-park.github.io/devstory/2019/08/08/Android-Hide-SystemBars/

 

그런데 아마 android 버전별 처리를 해줘야하는 부분이 있어 조금 어렵게 느껴지실 수도 있습니다.

한번 시도해보시고 어려우시면 한번 더 문의주세요 :)

daalzzwi's profile image
daalzzwi

asked

Ask a question