Sunstrike
Sunstrike

Reputation: 466

How to export all hardcoded strings to Strings.xml

If there is any eclipse extension that generate string in Strings.xml by click on warning that eclipse do? Because it is very tedious :/

Or maybe there are other ways to export the strings?

Upvotes: 1

Views: 245

Answers (2)

jpm
jpm

Reputation: 3430

In Eclipse you can press alt + shift + a and then s to extract the selected String.

Or, as pointed out in the post by user1920666 in the menu: Refractor -> Android -> Extract Android String

Upvotes: 1

SHASHIDHAR MANCHUKONDA
SHASHIDHAR MANCHUKONDA

Reputation: 3322

Select your String

Refractor on eclipse tabs -> Android -> Extract Android String

or

Alt + SHFT + A and then S

Upvotes: 1

Related Questions