Создайте следующую форму xml и поместите ее в качестве фона progressBar.
** 10dp в xml предполагает, что progressBar равен 20dp в Height и что вы хотите, чтобы тень была ровно половиной этого.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<layer-list>
<item android:bottom="10dp">
<shape android:shape="rectangle">
<solid android:color="@color/orange" />
</shape>
</item>
</layer-list>
</item>
<item android:id="@android:id/progress">
<clip>
<layer-list>
<item>
<shape android:shape="rectangle">
<solid android:color="@color/green" />
</shape>
</item>
<item android:top="10dp">
<shape android:shape="rectangle">
<gradient
android:angle="90"
android:endColor="@color/black"
android:startColor="@color/white" />
</shape>
</item>
</layer-list>
</clip>
</item>
</layer-list>