1. AndroidManifest.xml 使用了自定义的Theme.VLC
<activity
android:name="org.videolan.vlc.gui.MainActivity"
android:configChanges="orientation|screenSize"
android:launchMode="singleTask"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.VLC" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2. styles.xml 定义了style/Them.VLC和style/ActionBar
<style name="Theme.VLC" parent="Theme.Sherlock.Light">
<item name="actionBarStyle">@style/ActionBar</item>
<item name="windowContentOverlay">@drawable/actionbar_shadow</item>
<item name="android:listViewStyle">@style/Theme.VLC.List</item>
<item name="android:gridViewStyle">@style/Theme.VLC.List</item>
<item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
<item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
<item name="item_divider">@color/item_divider</item>
<item name="item_common_pressed">@color/item_common_pressed</item>
<item name="item_common_selected">@color/item_common_selected</item>
<item name="item_footer">@color/item_footer</item>
<item name="background_menu_divider">@color/background_menu_divider</item>
<item name="background_menu">@color/background_menu</item>
<item name="font_default">@color/font_default</item>
<item name="font_light">@color/font_light</item>
<item name="orange">@color/orange</item>
<item name="darkorange">@color/darkorange</item>
<item name="android:windowBackground">@color/background_common</item>
</style>
<style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:background">@drawable/actionbar_background</item>
<item name="background">@drawable/actionbar_background</item>
<item name="android:titleTextStyle">@style/ActionBar.Text</item>
</style>
3. actionbarbackgroud.xml中重定义了背景色
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="@color/darkorange" />
</shape>