简体   繁体   English

如何在Android Studio操作工具栏中添加图标?

[英]How do I add an icon to the Android Studio action toolbar?

Context 上下文

In Android Studio, a developer can select actions icons such as these in the toolbar: 在Android Studio中,开发人员可以在工具栏中选择操作图标,例如: 在此处输入图片说明

There are also other actions inside various drop down menus, for example, the Version Control System menu: 各种下拉菜单中还有其他操作,例如,版本控制系统菜单: 在此处输入图片说明

Issue 问题

There are certain actions that I use frequently, ie the 我经常使用某些动作,例如 在此处输入图片说明 function. 功能。 Since I use it so much, I would rather not have to go through the drop down menus every time to reach it. 由于我经常使用它,因此我宁愿不必每次都通过下拉菜单来访问它。

Is there a way to add functions like these to the action toolbar of Android Studio? 有没有一种方法可以将此类功能添加到Android Studio的操作工具栏中?

Right click toolbar, you will see below: 右键单击工具栏,您将看到以下内容: 在此处输入图片说明

Select an item of Main Toolbar and click add after... 选择“主工具栏”中的一项,然后单击“ 添加”。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM