Search code examples
androidandroid-seekbarandroid-vertical-seekbar

Vertical seekbar turns transparent on API25-


I'm using aosp implementation for vertical seekbar and it works just fine on API 26+ but on lower APIs its accent turns transparent (doesn't pick up the app's accent colour), any ideas on what could be causing this issue?

The seekbars are used inside windowmanager that has its own theme set when view is expanded/created which extends the parent AppTheme where accent colour is set, should I also set accent colour in the child theme?

Shreenshots: On API 27: API27

On API 24: API24


Solution

  • I had to explicitly set the accent color for it pick it up, seems like it doesn't automatically inherit it from the theme on older APIs