Hello Everyone! :wavey: I'm another noob developer, from Italy. I've got a little trouble with my first app
, a "lyrics app": I want to add a <string-array> for an album and every <item> should be one of its tracks; every track has its title, and I want it to be different from the item name. For example:
[HIGH]
<string-array name="LedZep2_tracks">
<item name="lyrLedZep2_0" title="Whole Lotta Love">
You need coolin' baby
I ain't foolin' etc
</item>
</string-array>
[/HIGH]
How can I recall in Java the custom attribute <title> that I've added? I already defined a styleable in a attr.xml file, but don't know what to do next.
[HIGH]
<declare-styleable name="String">
<attr name="title" format="string"/>
</declare-styleable>
[/HIGH]
Any help is appreciated, so thanks in advance
(I apologize for grammar errors)
, a "lyrics app": I want to add a <string-array> for an album and every <item> should be one of its tracks; every track has its title, and I want it to be different from the item name. For example:[HIGH]
<string-array name="LedZep2_tracks">
<item name="lyrLedZep2_0" title="Whole Lotta Love">
You need coolin' baby
I ain't foolin' etc
</item>
</string-array>
[/HIGH]
How can I recall in Java the custom attribute <title> that I've added? I already defined a styleable in a attr.xml file, but don't know what to do next.

[HIGH]
<declare-styleable name="String">
<attr name="title" format="string"/>
</declare-styleable>
[/HIGH]
Any help is appreciated, so thanks in advance
(I apologize for grammar errors)