Issue
I have followed this example to create a side sliding navigation menu inside my app. Now I need to add a inner shadow on the right side of the menu. I've been looking for an example on the internet but no success. Can anyone tell me is this possible? If so how can I do it?
Thanks
Solution
Yes it is and there is actually a method for it:
1-save a drawable of the desired shadow.
2-navigationDrawer.setDrawerShadow(R.drawable.dShadow, GravityCompat.START);
GravityCompat.START shadow position.
If you need more customization on your drawer you can check out these links:
Answered By - Ahmad Sanie
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.