Shadow beneath Actionbar-compat while using paddings

Viewed 898

I'm working on an Android application which uses the compatibility package from Google for getting fragments and such in Android 2.x. The actionbar has been created based on Google's example. A white "shadow" has been put beneath it using

<item name="android:windowContentOverlay">@drawable/actionbar_shadow</item>

However the object below the actionbar (a fragment) contains a ListView with the following property

android:paddingTop="5dp"

This results in the white shadow also dropping 5dp:

enter image description here

Is there a way to keep the padding on the ListView while keeping the shadow in it's proper place?

1 Answers
Related