Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionBarCompat on Gingerbread fills whole screen

So we've successfully stripped ActionBarSherlock from the Zappos app in favor of the new ActionBarCompat and it works great on Honeycomb+ but on Gingerbread the action bar expands to fill the whole screen and I cannot figure out why it's happening. We basically just changed all the themes/styles/references to ActionBarSherlock to be the equivalents in ActionBarCompat. Below is a screen shot of the issue. Anyone else run across this on GB and know of a fix? It's holding up a release for us :\

like image 274
Matt Kranzler Avatar asked Jul 29 '13 19:07

Matt Kranzler


1 Answers

Alright so I figured it out finally... we had copied the appcompat source code as a library project rather than using the com.android.support:appcompat-v7:18.0.+ dependency in gradle. After switching to the dependency in gradle and removing the appcompat source from our project it works as intended now.

like image 166
Matt Kranzler Avatar answered Oct 20 '22 02:10

Matt Kranzler