Get TabHost default system color

I don't want to change the TabHost i just want to get the first gradient color of the tab button when selected (the light blue in Samsung's TouchWiz for example)

How to do it?

Answers


Well I figured that I can use this to get the background drawable...

tabWidget.getBackground();

...but not the color themselves as the background is an image.


Need Your Help

Cron time setup

php wordpress cron

Setting up cron is confusing, although I managed to set it to run every hour, but I can't quite figure how to change to run every 10 mins. This is the UI in admin panel:

SilverStripe Fluent menu template

php silverstripe

The SilverStripe Fluent module has a ready-made template to display a simple language switching menu on the front-end.