删除AppBarLayout小部件android下面的阴影 [英] remove shadow below AppBarLayout widget android

查看:84
本文介绍了删除AppBarLayout小部件android下面的阴影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在设计支持库中使用AppBarLayout小部件时,工具栏底部会出现一个阴影.如何去除阴影?

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

推荐答案

只需在"AppBarLayout"中使用app:elevation="0dp"即可删除阴影.它一直为我工作.希望它对您有用.

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

这篇关于删除AppBarLayout小部件android下面的阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆