Commit 2c9438d3 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Create a custom VLC style for the ActionBar

parent 494eddda
...@@ -18,14 +18,14 @@ ...@@ -18,14 +18,14 @@
<application <application
android:icon="@drawable/icon" android:icon="@drawable/icon"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.Sherlock" android:theme="@style/Theme.VLC"
android:hardwareAccelerated="true" > android:hardwareAccelerated="true" >
<activity <activity
android:name=".gui.MainActivity" android:name=".gui.MainActivity"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:icon="@drawable/icon" android:icon="@drawable/icon"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.Sherlock" > android:theme="@style/Theme.VLC" >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
android:theme="@android:style/Theme.NoTitleBar" /> android:theme="@android:style/Theme.NoTitleBar" />
<activity <activity
android:name=".gui.video.VideoListFragment" android:name=".gui.video.VideoListFragment"
android:theme="@style/Theme.Sherlock"/> android:theme="@style/Theme.VLC"/>
<activity <activity
android:name=".gui.video.MediaInfoActivity" android:name=".gui.video.MediaInfoActivity"
android:theme="@android:style/Theme.NoTitleBar" /> android:theme="@android:style/Theme.NoTitleBar" />
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
android:theme="@android:style/Theme.NoTitleBar" /> android:theme="@android:style/Theme.NoTitleBar" />
<activity <activity
android:name=".gui.audio.AudioListActivity" android:name=".gui.audio.AudioListActivity"
android:theme="@style/Theme.Sherlock" /> android:theme="@style/Theme.VLC" />
<activity <activity
android:name=".gui.audio.AudioActivityGroup" android:name=".gui.audio.AudioActivityGroup"
android:theme="@android:style/Theme.NoTitleBar" /> android:theme="@android:style/Theme.NoTitleBar" />
......
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/header"
android:tileMode="repeat" />
\ No newline at end of file
...@@ -7,4 +7,13 @@ ...@@ -7,4 +7,13 @@
<item name="android:backgroundDimEnabled">true</item> <item name="android:backgroundDimEnabled">true</item>
<item name="android:windowNoTitle">true</item> <item name="android:windowNoTitle">true</item>
</style> </style>
<style name="Theme.VLC" parent="Theme.Sherlock">
<item name="android:actionBarStyle">@style/ActionBar</item>
<item name="actionBarStyle">@style/ActionBar</item>
</style>
<style name="ActionBar" parent="@android:style/Widget.Holo.ActionBar">
<item name="android:background">@drawable/actionbar_background</item>
</style>
</resources> </resources>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment