Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
2c9438d3
Commit
2c9438d3
authored
Jun 21, 2012
by
Ludovic Fauvet
Browse files
Create a custom VLC style for the ActionBar
parent
494eddda
Changes
3
Hide whitespace changes
Inline
Side-by-side
vlc-android/AndroidManifest.xml
View file @
2c9438d3
...
...
@@ -18,14 +18,14 @@
<application
android:icon=
"@drawable/icon"
android:label=
"@string/app_name"
android:theme=
"@style/Theme.
Sherlock
"
android:theme=
"@style/Theme.
VLC
"
android:hardwareAccelerated=
"true"
>
<activity
android:name=
".gui.MainActivity"
android:configChanges=
"orientation|screenSize"
android:icon=
"@drawable/icon"
android:label=
"@string/app_name"
android:theme=
"@style/Theme.
Sherlock
"
>
android:theme=
"@style/Theme.
VLC
"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
...
...
@@ -58,7 +58,7 @@
android:theme=
"@android:style/Theme.NoTitleBar"
/>
<activity
android:name=
".gui.video.VideoListFragment"
android:theme=
"@style/Theme.
Sherlock
"
/>
android:theme=
"@style/Theme.
VLC
"
/>
<activity
android:name=
".gui.video.MediaInfoActivity"
android:theme=
"@android:style/Theme.NoTitleBar"
/>
...
...
@@ -88,7 +88,7 @@
android:theme=
"@android:style/Theme.NoTitleBar"
/>
<activity
android:name=
".gui.audio.AudioListActivity"
android:theme=
"@style/Theme.
Sherlock
"
/>
android:theme=
"@style/Theme.
VLC
"
/>
<activity
android:name=
".gui.audio.AudioActivityGroup"
android:theme=
"@android:style/Theme.NoTitleBar"
/>
...
...
vlc-android/res/drawable/actionbar_background.xml
0 → 100644
View file @
2c9438d3
<?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
vlc-android/res/values/styles.xml
View file @
2c9438d3
...
...
@@ -7,4 +7,13 @@
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
</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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment