android - Adding a shadow to Sliding Drawer -
i knew sliding drawer deprecated. imported sliding drawer class own package , customized satisfy requirements. scenario is, want add shadow wraps both handle , content of sliding drawer. if add shadow handle , content separately (by giving image shadow background both handle , content),then shadow makes gap between handle , content. not requirement. please guide me through this.
navigationdrawer.setdrawershadow(r.drawable.somedrawable,gravitycompat.start);
you need use drawable shadow. use setdrawershadow method on navigationdrawer object.
Comments
Post a Comment