Search code examples
androidandroid-layout

remove shadow below AppBarLayout widget android


When using AppBarLayout widget in design support library, a shadow appears on the bottom of the toolbar. How can I remove that shadow?


Solution

  • Simply use app:elevation="0dp" inside "AppBarLayout" to remove the shadow. It has always worked for me. Hope it works for you.