键盘快捷键Android Studio中“新的空白活动” [英] Keyboard shortcut for 'new blank activity' in Android Studio
问题描述
有一个快捷键Android Studio中添加一个新的空白活动?
Is there a keyboard shortcut to add a new blank activity in Android Studio?
我知道你可以点击文件 - >新 - >活动
作为解释<一个href=\"http://stackoverflow.com/questions/16641643/how-to-add-new-activity-to-existing-project-in-android-studio#_=_\">here但是当我添加多种活动这很烦人和单调乏味。
I know you can click File -> New -> Activity
as explained here but this gets annoying and tedious when I'm adding multiple activities.
编辑:点击软件包的名称,然后按<大骨节病>替代骨节病> + <大骨节病>插入骨节病>快捷键文件 - &GT;新
,但是,你仍然需要手动导航到活动 - &GT;空白活动
Clicking on the package name followed by Alt+Insert shortcuts to File -> New
, however, you still need to manually navigate to Activity -> Blank Activity
推荐答案
您可以指定一个快捷方式到你想要的任何行动。转到
You can assign a shortcut to any action you want. Go to
File > Settings > Keymap
和搜索空白活动
。现在,右击该项目,并选择添加快捷键
。
and search for Blank Activity
. Now right click the item and select Add Keyboard Shortcut
.
这篇关于键盘快捷键Android Studio中“新的空白活动”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!