Change The Color Of The Line Into The Contextual Action Bar
I would like to change the color of the line that appears onto the contextual action bar; to be more clear I will put an image: You see the Light blue line just above the white ar
Solution 1:
You should first create your own 9-patch image with the colours which you want to use. For example an image like this :

And after that in your application's theme you should add this (for Holo Theme) :
<stylename="Theme.MyAppTheme"parent="@android:style/Theme.Holo.Light"><itemname="android:actionModeBackground">@drawable/my_actionmode_background</item></style>For ActionBarSherlock or AppCompat you should use :
<!-- AppCompat --><stylename="Theme.MyAppTheme"parent="@style/Theme.AppCompat.Light"><itemname="actionModeBackground">@drawable/my_actionmode_background</item></style><!-- ActionBarSherlock --><stylename="Theme.MyAppTheme"parent="@style/Theme.Sherlock.Light"><itemname="actionModeBackground">@drawable/my_actionmode_background</item></style>
Post a Comment for "Change The Color Of The Line Into The Contextual Action Bar"