Issue
In Android Studio, when we open a code or XML file, sometimes we can see the resource value as shown below i.e. MockServer Experiment
. By clicking into it we'll be able to see that it is a resource string variable @string/app_name
My question is, how can I do the reverse (e.g. from the resource string variable, I can get it to show the value)? Aside from clicking into the resource file to see it.
Solution
Ctrl+> works for me on my Ubuntu machine. To show a string value, you need to move the cursor to e.g. @string/app_name
and press the shortcut.
Answered By - Yamashiro Rion
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.