你可以嘗試這樣。在Styles.xml
<?xml version="1.0" encoding="utf-8"?>
<style name="ExampleTheme" parent="Theme.Sherlock.Light.DarkActionBar">
<!-- <item name="homeAsUpIndicator">@drawable/new_indicator</item> -->
<!-- <item name="android:homeAsUpIndicator">@drawable/new_indicator</item> -->
</style>
<style name="CustomTheme" parent="Theme.Sherlock.Light.DarkActionBar">
<item name="homeAsUpIndicator">@drawable/new_indicator</item>
<!-- <item name="android:homeAsUpIndicator">@drawable/new_indicator</item> -->
</style>
在你menifeast.xml
<application
android:allowBackup="true"
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@style/ExampleTheme" >
<activity
android:name="com.ebizzinfotech.regularcoupon.SplashActivity"
android:theme="@style/Theme.Sherlock.Light.DarkActionBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.ebizzinfotech.regularcoupon.MainActivity"
android:screenOrientation="portrait"
android:theme="@style/CustomTheme">
</activity>