Android - Remove Logo on Action Bar for all Activities

1. Open AndroidManifest.xml in project.

2. Find <application> tag.

3. Add a property, android:logo="@android:color/transparent", to <application> like below:

<application android:allowbackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/my_app_name"
        android:logo="@android:color/transparent"
        android:theme="@style/AppTheme" >
 
     ...... // your custom code.


Follow the steps, you can do it too now.

If you want to remove the logo on action bar in specific activity, you should add the property in the specific <activity> you want, not in the <application> tag.


留言

這個網誌中的熱門文章

7-ELEVEN 電子發票明細查詢方式

Java 使用 regular expression 正則表達,過濾特殊字元,反斜線處理重點

Ubuntu GUI中,無法啟動WIFI連結解決方法