In my android list page/activity I have a 2 text fields a main and subsection one above each other, but when it coems to creating the array string for it I only see examples with the one section of text.
<resources>
<string name="hello">Hello!</string>
</resources>
To then create what I want I would do a if statement to match the title then if so add the subtitle, but I would like to have it so I can read my title and subtitle strings something like below:
<resources>
<string name="hello">
<item>Hello!</item>
<item>my subtitle </item>
</string>
<string name="hello">
<item>Hello!</item>
<item>my subtitle </item>
</string>
</resources>
But I cannot find an example of how to read this to a list item etc, so I do not need to do a long if statement within my java to match the subtitle to the title.
Many Thanks Si