Change System Bar Colors in your App | Android Studio Tutorial

Опубликовано: 02 Октябрь 2024
на канале: Stevdza-San
64,923
948

🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN
https://stevdza-san.com

🐱‍👤 Wanna become a member? Join!
   / @stevdzasan  

📸 Instagram
  / stevdza_san  



In this video I'm going to show you how to easily change the colors for System Bars, like Status Bar and Navigation Bar as well. You will learn how to change it's colors based on the theme that you're using. There are two different approaches which I'm going to showcase in this video, so go and watch! :)

💻 Source code: https://github.com/stevdza-san/System...
SystemUiController (Accompanist): https://google.github.io/accompanist/...

You can also check my Jetpack Compose playlist for more interesting videos about it as well 😎 :
   • Jetpack Compose  





⌚Timestamps
0:00 - Introduction
0:22 - App Preview
1:51 - First Approach - Themes.xml
3:11 - Second Approach - Accompanist Library
5:48 - Preview
6:18 - Move logic in Theme.kt
7:15 - Conclusion