Skip to content

Instantly share code, notes, and snippets.

@daichan4649
Created September 11, 2013 09:02
Show Gist options
  • Save daichan4649/6521094 to your computer and use it in GitHub Desktop.
Save daichan4649/6521094 to your computer and use it in GitHub Desktop.
customize ActionBar
<resources>
<style name="CustomTheme" parent="Theme.Sherlock.Light">
<item name="android:actionBarStyle">@style/custom_actionbar_style</item>
</style>
<style name="custom_actionbar_style" parent="Widget.Sherlock.Light.ActionBar">
<!--
<item name="android:displayOptions">homeAsUp|useLogo|showHome|showTitle</item>
-->
<item name="android:displayOptions">useLogo|showTitle</item>
<item name="android:titleTextStyle">@style/custom_actionbar_titletextstyle</item>
</style>
<style name="custom_actionbar_titletextstyle" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
<item name="android:textColor">#00ccff</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment