0
原始ActionBar左側的徽標不是應用程序圖標。 ActionLayout被添加到按鈕。Android:如何更改Actionlayout中向上導航的徽標
<item
android:id="@+id/action_search"
android:orderInCategory="100"
android:showAsAction="collapseActionView|always"
android:title="@string/action_search"
android:icon="@drawable/ic_search"
android:actionLayout="@layout/search_layout"/>
但在這個按鈕的情況下被點擊,動作條被改變,以及在左邊的標誌,這是在向上導航的應用程序圖標。 如何使徽標不變?
感謝您的評論,但也許你誤解了這個question.I告訴你的動作條[鏈接]的PIC http://ww3.sinaimg.cn/mw690/3c6ca901tw1e6xz0d8935j20ld080js3 .jpg – lht
我並沒有使用Sherlock.beg來解決問題!thx – lht