Text in bold and normal in an item of an array [duplicated]

0

good to all. I'm trying to implement an idea that may not be possible, since I can not find any information anywhere.

I have an array with several items, my idea is that the strings of those items appear the first word of it in bold and the following normals. I have thought of some character type / n that passes the bold letter to normal, but I can not find it.

Can you think of something? The idea is:

<array name="array_nom">
        <item>**Gómez** Manuel</item>
        <item>**Pérez** Luis</item>
</array>

** - > word in bold

Thank you very much.

    
asked by wiki 27.10.2017 в 20:58
source

1 answer

1

Use the <b></b> tag that is used to mark the text in bold in TextView :

<array name="array_nom">
        <item><b>Gómez</b> Manuel</item>
        <item><b>Pérez</b> Luis</item>
</array>
    
answered by 27.10.2017 / 21:10
source