The Easiest Way is :got to res -> value -> styles and add this
1: Add this in your color xml file
<resources> <color name="colorPrimary">#3F51B5</color> <color name="colorPrimaryDark">#000000</color> <color name="colorAccent">#FF4081</color> </resources>
2:Add this in your styles.xml file
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style>
Note:
- colorprimary is for Actionbar
- colorPrimaryDark is for Statusbar
- your can change these colors and u could get ur required result .
OUTPUT :

Related Posts:
- Change status bar text color when primaryDark is white
- Dial pad to get phone number (with Android button images)
- How to change the status bar color in Android?
- Android setOnClickListener method – How does it work?
- How to record Android device’s screen on Android version below 4.4 (KitKat)
- Android Completely transparent Status Bar?
- Android – Package Name convention
- How to implement OnFragmentInteractionListener
- All com.android.support libraries must use the exact same version specification
- Android marshmallow : Galaxy Note 4 Screen Overlay Detected
- How to enable Location access programmatically in android?
- Using prevNext Modx Addon
- :wq! command in vim
- How to show a loading gif while an APi is being called in xamarin android?
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- 1000 * 60 * 60 * 24 * 30 results in a negative number [duplicate]
- When is K 1024 and when is it 1000?
- What is a MIME type?
- Logitech/LGHUB Lua – Loop with break
- are there dictionaries in javascript like python?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- Understanding The Modulus Operator %
- Understanding the main method of python [duplicate]
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How is the AND/OR operator represented as in Regular Expressions?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- Istio Ingress resulting in “no healthy upstream”
- Why is it not possible to fake an IP address?
- How to open a “-” dashed filename using terminal?
- Substring in excel
- What is a LAMP stack?
- What is a sanity test/check
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- How to find Google’s IP address?
- What exactly is a VBO in OpenGL?
- What and where are the stack and heap?
- ping response “Request timed out.” vs “Destination Host unreachable”
- Authentication versus Authorization
- What is a reverse shell?
- How does npm start work? What all processes are happening in the background?
- What is an instance variable in Java?
- What is the := operator?
- What is tail recursion?
- Discord music bot not working
- What does “:=” mean in Pseudocode? [closed]
- Why am I getting error for apple-touch-icon-precomposed.png
- No results found on kibana -> discover
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- ‘App not Installed’ Error on Android
- What is Xpenology? Is it Linux related thing?
- ‘App not Installed’ Error on Android
- Why do we need virtual functions in C++?
- Draw a transparent circle onto a filled android canvas
- What is a CSRF token? What is its importance and how does it work?
- How to use navigateUp to close the application
- Create blank image in Imagemagick
- Official definition of CSCI (Computer Software Configuration Item)
- How could I ping @here in Discord.py?
- Python Math – TypeError: ‘NoneType’ object is not subscriptable
- “unable to locate adb” using Android Studio [duplicate]
- What does %>% mean in R [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- Can’t start Eclipse – Java was started but returned exit code=13
- Can’t start Eclipse – Java was started but returned exit code=13
- super() in Java
- Visual List of iOS Fonts?
- What is useState() in React?
- TCP vs UDP – What is a TCP connection? [duplicate]
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- ssh : Permission denied (publickey,gssapi-with-mic)
- Eclipse IDE for Java – Full Dark Theme
- Amazon Linux: apt-get: command not found
- What exactly is “com.google.android.packageinstaller”
- Google Calendar API event insert always return 404 “not found” error
- ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
- Differences between arm64 and aarch64
- What’s the syntax for mod in java
- What does the Java assert keyword do, and when should it be used?
- How to get rid of the “No bootable medium found!” error in Virtual Box? [closed]
- How do I fix a “Expected Primary-expression before ‘)’ token” error?
- Converting double to string
- Using getline() with file input in C++
- STDERR? What is it? What are its common uses?
- UML Sequence diagram auto-numbering in Visual Paradigm
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Java default constructor
- How do I make a delay in Java?
- Casting variables in Java
- Handling file renames in Git
- Android WebView err_unknown_url_scheme
- PermissionError: [Errno 13] in Python
- Why are there two ways to unstage a file in Git?
- google console error `OR-IEH-01`
- ‘git’ is not recognized as an internal or external command
- Install an apk file from command prompt?
- did you specify the right host or port? error on Kubernetes
- Compiler Error “void value not ignored as it ought to be” in C programming [duplicate]
- How does Java’s PriorityQueue differ from a min-heap?