Okay turned out that I made a really silly mistake. The device I am using for testing is running Android 4.0.4, API level 15.
The styles.xml file that I was editing is in the default values folder. I edited the styles.xml in values-v14 folder and it works all fine now.
Related Contents:
- How do I change the background color of the ActionBar of an ActionBarActivity using XML?
- Android toolbar center title and custom font
- Can’t Find Theme.AppCompat.Light for New Android ActionBar Support
- How to change the background color of Action Bar’s Option Menu in Android 4.2?
- Full Screen Theme for AppCompat
- How to center align the ActionBar title in Android?
- UnsupportedOperationException: Can’t convert to dimension: type=0x1
- Set theme for a Fragment
- How can I style an Android Switch?
- How to reference style attributes from a drawable?
- Switching application-wide theme programmatically?
- How to: Define theme (style) item for custom widget
- How to hide status bar in Android
- Implementing user choice of theme
- When should one use Theme.AppCompat vs ThemeOverlay.AppCompat?
- How to change color / appearance of EditText select handle / anchor?
- How to use device default theme for app?
- Get color value programmatically when it’s a reference (theme)
- android themes – defining colours in custom themes
- What are the default color values for the Holo theme on Android 4.0?
- Android – Making activity full screen with status bar on top of it
- Android get free size of internal/external memory
- Clicking URLs opens default browser
- How to get the ActionBar height?
- Android Intent for Twitter application
- “Failed to install the following Android SDK packages as some licences have not been accepted” error
- How do you set EditText to only accept numeric values in Android?
- Why does the Google Play store say my Android app is incompatible with my own device?
- How permission can be checked at runtime without throwing SecurityException?
- Update Fragment from ViewPager
- How do I create a help overlay like you see in a few Android apps and ICS?
- Android: wrap_content is not working with ListView
- Rotating Image on A canvas in android
- Uploading a large file in multipart using OkHttp
- How to remove all listeners added with addTextChangedListener
- I can’t find the Android keytool
- Views overlayed above YouTubePlayerFragment or YouTubePlayerView in the layout hierarchy cause playback to pause immediately
- Using build types in Gradle to run same app that uses ContentProvider on one device
- Change package name for Android in React Native
- Difference between extending LifecycleActivity,Activity,ActionbarActivity & AppCompactActivity?
- User does not have permission to access this object . Firebase storage android
- Load language specific string from resource?
- Creating animation on ImageView while changing image resource
- How to print stacktrace for an exception Android [duplicate]
- Android Save images to SQLite or SDCard or memory
- Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application
- Estimating beacon proximity/distance based on RSSI – Bluetooth LE
- Using NumberPicker Widget with Strings
- Can’t create new Kotlin project after updating to Android Studio 4.2
- Can’t update Eclipse ADT to 22