|
After years of using Eclipse, I'm making the transition to Android
Studio and am still mystified by some of what I see. The latest
surprise was when I opened a source file to make an edit and saw
that I apparently had hard-coded a string even though I was sure
that I hadn't done so. IOW, what I saw was: Toast.makeText(mCtx, "Evernote app not found", Toast.LENGTH_SHORT).show(); However, the text was lightly grayed and highlighted. When I clicked inside the text, the line changed to what I had actually coded, i.e.: Toast.makeText(mCtx, R.string.evernote_err, Toast.LENGTH_SHORT).show(); Which was more like it! Although this feature is certainly very cool in some circumstances, there are other times when I'd prefer to just see what I typed. So what is this feature called? Can I switch it on and off (once I had collapsed the string to the constant, I could not get it to revert until I opened the file again)? -- Doug Gordon GHCS Software http://www.ghcssoftware.com [email protected] -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- [android-developers] Android Studio Editor feature Doug Gordon
- [android-developers] Re: Android Studio Editor featu... Sheharyar Naseer

