작성
·
184
2
강의에서는 이것만 바꾸라고 되어있는데
<item name="colorPrimaryVariant">@color/main_yellow</item>
애초에 'statusBarColor'가 저처럼 없는분들은 이걸 추가하셔야합니다!!
<item name="android:statusBarColor" tools:targetApi="l">@color/main_yellow</item>
그래서 총 코드는 이렇게 됩니다! 참고하세여
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.MySoloLife" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<item name="colorPrimaryVariant">@color/main_yellow</item>
<item name="android:statusBarColor" tools:targetApi="l">@color/main_yellow</item>
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
</style>
<style name="Theme.MySoloLife" parent="Base.Theme.MySoloLife" />
</resources>