Android Flat ActionBar (without shadow) -


I'm trying to create a flat action bar without shadows

Attached image:

Enter image details here

my style xml

  & lt; Resources & gt; & Lt ;! - Topics applicable to the application or activity - & gt; & Lt; Style name = "custom actionbeartheme" parent = "@ Android: style / theme. Hollow. Light" & gt; & Lt; Item name = "android: actionBarStyle" & gt; @ Style / myactionbar & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Action style - & gt; & Lt; Style name = "MyActionBar" Original = "@Android: Style / Widget.Hello Light.Actionbar.Solid Andres" & gt; & Lt; Item name = "android: windowContentOverlay" & gt; @ Null & lt; / Item & gt; & Lt; Item name = "android: windowActionBarOverlay" & gt; True & lt; / Item & gt; & Lt; Item name = "Android: Background" & gt; @drawable / white_bg & lt; / Item & gt; & Lt; Item name = "android: displayOptions" & gt; & Lt; / Item & gt; & Lt; / Style & gt;   

I'm supporting Android 4.x

Any thoughts?

white_bg attached (it is hard to see because it is white)

Enter image details here

It should look like this

  & lt; Resources & gt; & Lt ;! - Topics applicable to the application or activity - & gt; & Lt; Style name = "custom actionbeartheme" parent = "@ Android: style / theme. Hollow. Light" & gt; & Lt; Item name = "android: actionBarStyle" & gt; @ Style / myactionbar & lt; / Item & gt; & Lt; Item name = "android: windowContentOverlay" & gt; @ Null & lt; / Item & gt; & Lt; / Style & gt; & Lt ;! - Action style - & gt; & Lt; Style name = "MyActionBar" Original = "@Android: Style / Widget.Hello Light.Actionbar.Solid Andres" & gt; & Lt; Item name = "android: windowActionBarOverlay" & gt; True & lt; / Item & gt; & Lt; Item name = "Android: Background" & gt; @drawable / white_bg & lt; / Item & gt; & Lt; Item name = "android: displayOptions" & gt; & Lt; / Item & gt; & Lt; / Style & gt;    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -