I have one quote application in which I have given option to choose font from assets for text view. its like below
text_quotes.setTypeface(Typeface.createFromAsset(getAssets(), image));
I have another function in which I want give option to make text bold,italic etc. I have tried it like below code
text_quotes.setTypeface(null,Typeface.BOLD);
but this is changing font to default...How can I make it BOLD etc with same font which applied to text view ?
I am learning android yet...so ignore if My question is very easy. Thanks