title: android TabLayout how to show shadow top
body: <p>android TabLayout how to show shadow top 
  im using tablayout is bottom how to make shadow as like this </p>
  
  <p>please help me ?  shadow show top </p>
  
  <pre><code>&lt;RelativeLayout
  android:id="@+id/main_layout"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:fitsSystemWindows="true"
  tools:context=".GlobalHub.GlobalActivity"&gt;
  
  
  &lt;android.support.v4.view.ViewPager
      android:id="@id/viewpager"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_above="@id/tablayout" /&gt;
  
  
  &lt;android.support.design.widget.TabLayout
      singleLine="true"
  
  
      android:id="@id/tablayout"
      app:tabTextColor="@color/black"
      app:tabMode="fixed"
      app:tabGravity="fill"
  
      app:tabIndicatorColor="@color/jetColor"
      app:tabTextAppearance="@style/MyCustomTabLayout"
      app:tabIndicatorHeight="6dp"
      android:layout_width="match_parent"
      android:layout_height="@dimen/_46sdp"
      android:layout_alignParentBottom="true"
  
  android:background="@drawable/shadow_tablayout"
  
      /&gt;
  </code></pre>
  
  <p></p>
  
  <p><a href="https://i.stack.imgur.com/ryCrc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ryCrc.png" alt="enter image description here"></a></p>