Trying to set the background of android actionbar version 2.1 or so (API 7) and up -


alright i've followed android tutorial try , style action bar , doesn't seem work

themes.xml

<resources>     <!-- theme applied application or activity -->     <style          name="customactionbartheme"         parent="@style/theme.appcompat.light.darkactionbar">          <!-- support library compatibility -->         <item name="actionbarstyle">@style/myactionbar</item>     </style>      <!-- actionbar styles -->     <style          name="myactionbar"         parent="@style/widget.appcompat.light.actionbar.solid.inverse">          <!-- support library compatibility -->         <item name="background">@drawable/actionbar_background</item>     </style> </resources> 

manifest.xml

<application     android:allowbackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/customactionbartheme" > 

...

i made sure have actionbar_background.png(which square image color basically) in correct folders. however. when run still see old action bar nothing changed.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -