i want to bold a part of "" a text but i dont know how this my text:
<string name="apropos"> Le projet Marocherche : Bâtir au cœur d un portail professionnel, destiné aux entreprises marocaines, une création conçue par des "professionnels pour des professionnels".
Just use like this -
String sourceString = "<b>" + id + "</b> " + name;
mytextview.setText(Html.fromHtml(sourceString));
If you want to edit string in strings.xml, you can do it as -
<resource>
<string name="styled_welcome_message">We are <b>so</b> glad to see you.</string>
</resources>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With