これは用語集アプリケーションです。データをstring-array..instrings.xmlに保存しました。
<string-array name="title">
<item>aaaa</item>
<item>bbbb</item>
<item>cccc</item>
<item>dddd </item>
</string-array>
<string-array name="definition">
<item>This is first entry relate to bbbb. .</item>
<item>This is a book.</item>
<item>This is aaaa so link it there.</item>
<item>This is related to cccc</item>
</string-array>
アクティビティ1には、リストビューに表示されているすべてのデータのリストがあります。それをクリックすると、単語と定義を含むアクティビティ2に移動します。アクティビティ2には、2つのテキストビューがあります。1つはタイトルの表示用で、もう1つは定義用です。定義では、タイトルが存在する場合はハイパーリンクされている必要があり、クリックするとタイトルと定義が表示されます。
以下のリンクをたどって参照しました 。Android:クリック可能なテキストからアクティビティを起動します
しかし、上記の質問では、それは単なる文字列です..文字列配列をどうするか?
ありがとうございました..