[英]Adding a custom navigation drawer action bar icon
I've implemented a navigation drawer, and it has the standard 3 lines going across. 我已经实现了一个导航抽屉,它具有标准的3条线。 I've been looking around for methods to change that icon, but I haven't found much luck.
我一直在寻找更改该图标的方法,但运气不佳。 I really only want to make the lines more spaced out and longer (like in the playstore).
我真的只想使行间距更大,行更长(例如在Playstore中)。
Any suggestions? 有什么建议么?
If I understand correctly, you're looking to change the 如果我理解正确,则您正在寻求更改
icon
图标
There is a Navigation Drawer Indicator Generator in the Android Asset Studio. Android Asset Studio中有一个导航抽屉指示器生成器 。
The icon is available for download in the Android training lesson Creating a Navigation Drawer . 图标可供下载在Android培训课程创建一个抽屉式导航栏 。
As far as I can tell, you can follow that tutorial and swap in whatever icon you'd like. 据我所知,您可以按照该教程操作并交换所需的任何图标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.