Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass reference of an string to a String array in Values?

 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

I have a String list in values>Strings.xml as

<string name="tax_rules">Tax Rules</string>
<string name="terms_conditions">Terms and Conditions</string>
<string name="academics">Acdemics</string>
<string name="attendance_by_subject">Attendance By Subject</string>
<string name="attendance_by_date">Attendance By Date</string>
<string name="campus_drives">Campus Drives</string>
<string name="placement_news">Placement News</string>
<string name="my_assignments">My Assignments</string>
<string name="accounts">Accounts</string>
<string name="title_activity_faculty_">Faculty_Activity</string>
<string name="title_activity_management">ManagementActivity</string>
<string name="title_activity_accounts">AccountsActivity</string>
<string name="title_activity_student">StudentActivity</string>
<string name="drawer_open">Open navigation drawer</string>
<string name="drawer_close">Close navigation drawer</string>


and I am making different StringArray using these strings
<string-array>


</string array>

is there any way so that I can reuse existing string to as a reference in String Array rather than writing whole strings again and again in array?

Something like
<string-array>
@Reftostring1
@RefToString2
</string-array>

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic