如何使导航抽屉阴影打火机 [英] How to make the Navigation Drawer Shadow lighter

查看:167
本文介绍了如何使导航抽屉阴影打火机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

林关于所述一个当抽屉打开时,阴影示出在右侧,这似乎暗和要求希望有它有点轻

Im pertaining to the one when the drawer is open, the shadow is showing on the right side, this seems dark and the requirement wants to have it a bit lighter.

我试着改变setDrawerShadow但似乎并没有做任何改动。

I've tried changing setDrawerShadow but doesn't seem to change at all.

使用Gravity.START IM

im using the Gravity.START

推荐答案

使用<一个href=\"https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html#setScrimColor%28int%29\"相对=nofollow> DrawerLayout.setScrimColor 。

这篇关于如何使导航抽屉阴影打火机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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