Android:从底部导航中删除阴影

时间:2017-09-25 12:02:52

标签: android android-layout bottomnavigationview

将容器放置在我的底部导航下方时,即使在向容器添加内容之后,它也会被导航中的灰色阴影部分覆盖。如何删除阴影? screenshot

2 个答案:

答案 0 :(得分:11)

使用 ;with cte as ( select * , row_number() over (partition by email order by lastname, firstname) as rn , count(*) over (partition by email) as cnt from users where email not like 'green%' and email not like 'na%' ) select * from cte where cnt > 1 --or email like '%[0123456789]' /* uncomment to also show emails ending in a number */ order by email, rn 隐藏底部导航中的阴影

app:elevation="0dp"

答案 1 :(得分:1)

如果您使用的是Api级别28以上,则可以使用

android:outlineAmbientShadowColor="@android:color/transparent"
android:outlineSpotShadowColor="@android:color/transparent"