have this layout -
<Stepsview
android:background="@color/white"
android:elevation="@dimen/margin_16"/>
this cast shadow at the bottom as well as top :
Steps view and ActionBar are 2 different views, one way I see is to combine these 2 views inside a view group and set elevation on the view group only. Is there any other way only controlling steps view.