Is there a way to disable the dark fading effect for the background view in the Navigation Drawer View in Android?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
Addition to koso's answer: you can directly call the colors from Color class like this:
You can use
setScrimColor(int color)
method. As default color is used0x99000000
. So if you don't wantfaded
background, settransparent
color in this method.You can set a custom shadow:
// For dark fading effect
// For light fading effect
// For no Fading