I know how to set shadowColor on other view, but on ActionBarSherlock's title, shadow isn't showing.
here my style.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.SherlockClient" parent="@style/Theme.Sherlock">
<item name="abTitleTextStyle">@style/CustomTitle</item>
</style>
<style name="CustomTitle">
<item name="android:textColor">@color/Turquoise</item>
<item name="android:shadowColor">@color/Green</item>
<item name="android:shadowDx">0</item>
<item name="android:shadowDy">0</item>
<item name="android:shadowRadius">3</item>
<item name="android:padding">5dp</item>
</style>
只是为了确认你是否在清单中的应用程序标签中定义了自定义样式@style/Theme.SherlockClient
而不是@style/Theme.Sherlock
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.