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?
- What exactly is a VBO in OpenGL?
- No results found on kibana -> discover
- Official definition of CSCI (Computer Software Configuration Item)
- What does %>% mean in R [duplicate]
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- How do I fix a “Expected Primary-expression before ‘)’ token” error?
- What is archive mode in rsync?
- Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
- Flash Player Projector post 2020
- How to update multiple columns in single update statement in DB2
- what does the __file__ variable mean/do?
- Assembly’s manifest definition does not match assembly reference
- “unrecognized selector sent to instance” error in Objective-C
- Java – No enclosing instance of type Foo is accessible
- Session ‘app’ error while installing APK
- Couldn’t load memtrack module Logcat Error
- Center Plot title in ggplot2
- How to use PHP’s password_hash to hash and verify passwords
- How to create a custom coder?
- Git push won’t do anything (everything up-to-date)
- How do I get the dialer to open with phone number displayed?
- RecyclerView vs. ListView
- How to use vmImage on pipeline using Azure DevOps Server?
- Is it possible to convert apk file to IPA file?
- git add . -> still “nothing to commit” with new files
- git submodule add error: does not have a commit checked out
- “The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website
- Cosine similarity and tf-idf
- Manifest Merger failed with multiple errors in Android Studio
- Google Sceneform – Is it deprecated? Any replacement?
- Optional Parameters in Go?
- Android Studio: Unable to obtain result of ‘adb version’
- PostgreSQL: Remotely connecting to Postgres instance using psql command
- Android simple alert dialog
- The activity must be exported or contain an intent-filter
- How to execute an oracle stored procedure?
- “Bitmap too large to be uploaded into a texture”
- How do you close/hide the Android soft keyboard programmatically?
- Unable to convert 3d ply file image to 2d image
- Android : When do we use getIntent()?
- Get a random item from a JavaScript array
- Plotting horizontal and vertical lines in Mathematica
- Error while waiting for device: Time out after 300seconds waiting for emulator to come online
- How to transparent Unity3D custom shader?
- The specified child already has a parent. You must call removeView() on the child’s parent first (Android)
- Converting string to integer VB.NET
- How to completely uninstall Android Studio from windows(v10)?
- Is it valid to have a html form inside another html form?
- DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
- what is shortcut command to kill process in windows command?
- Failed to find Build Tools revision 23.0.1
- Differentiate between function overloading and function overriding
- How to inflate one view with a layout
- Delete child from firebase [duplicate]
- Android Color Picker
- Why is the minidlna database not being refreshed?
- java.sql.SQLException: Fail to convert to internal representation
- How to make layout with rounded corners..?
- Representing EOF in C code?
- java.lang.ClassNotFoundException: org.postgresql.Driver, Android
- Android Fragment no view found for ID?
- How to disable action bar permanently
- Manifest Merger failed with multiple errors in Android Studio
- hardcoded string “row three”, should use @string resource
- E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0
- What’s the difference between sx and σx in the statistics calculations on a TI-Nspire?
- Apache Kafka vs Apache Storm
- How can an Admin access the Google Drive contents of all the users in a particular domain?
- PSEXEC, access denied errors
- Android studio- “SDK tools directory is missing”
- How do you define a global function in C++?
- A _disk_id.pod file appears on a windows flash drive
- What standard do language codes of the form “zh-Hans” belong to?
- What is the proof of of (N–1) + (N–2) + (N–3) + … + 1= N*(N–1)/2
- Merge posts plugin? [closed]
- How can I make a wp site in a mobile application?
- How to See Everything in get_option()?
- How to connect android app with WordPress website?
- Slow WP Site, theme.php not caching? Up to 25 second load time! [closed]
- How to hide subfolder of static pages in WordPress using htaccess
- Javascript: Add anchor hashtag to URL, and reload
- To remove rendering of menus and header, plugin or theme?
- Any benefit or detriment from removing a pagefile on an 8 GB RAM machine?
- How do I view the details of a digital certificate .cer file?
- How do you validate fstab without rebooting?
- DNS – NSLOOKUP what is the meaning of the non-authoritative answer?
- Why can’t a CNAME record be used at the apex (aka root) of a domain?
- How can I upgrade to Java 1.8 on an Amazon Linux Server?
- What port should I open to allow remote desktop?