Shortcut to quickly create / modify a string in Android Studio without using strings.xml?
I have searched the internet for how to change or create a string in Android Studio, but I couldn't find any information about shortcuts.
I just want to change @string/app_name
from Basic App
to My app
, eg.
I know I can manually navigate to this for this strings.xml
, but is there a faster method using a shortcut?
+3
source to share
2 answers
In Android Studio
- to rename the line or to file
WINDOWS Ctrl+F6
MAC fn+ Shift+F6
- "extract resource string" to create a new line under file resources / string
WINDOWS Alt+Enter
MAC Alt+Enter
I also encourage you guys to see this video which shows some other trick you can use okay to speed up your programming.
+7
source to share