Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- button
- androidstudio
- RealtimeDB
- firebasefunctions
- ROOM
- ArrayList
- ViewModel
- textview
- Activity
- ButtonWithButton
- Imageview
- Dialog
- 밑줄
- 팝업액티비티
- Kotlin
- 안드로이드
- firebase
- BottomSheetDialog
- FRAGMENT
- lifecyclescope
- 안드로이드 스튜디오
- OutlinedButton
- EditText
- 뷰바인딩
- 코틀린
- 랜덤ID
- nav_graph
- Android
- MaterialButton
- 안드로이드스튜디오
Archives
- Today
- Total
안드로이드 앱 개발
어플리케이션 전체의 상태바 색깔과 글씨색 변경방법 본문
1. 먼저, 상태바의 배경색을 바꾸는 방법
//styles.xml에서 colorPrimaryDark가 상태바의 배경색깔이다.
<item name="colorPrimaryDark">@color/white</item>
//상태바의 text컬러는 밝은색/어두운색으로밖에 못함
<item name="android:windowLightStatusBar">true</item>
//true는 어두운 글씨, white는 밝은 글씨
* v23에 override해야되고 그 theme으로 app theme을 교체해주면 된다.