I need to dynamically update fontWeight property of a TextView but this doesn't seem to work for the canvas implementation of TextView. This works perfectly fine for DOM implementation. I am using following method to update -
someTextView.updateOpts({
fontWeight: 'bold'
});
Any pointers to fix this or a workaround would be appreciated.
I need to dynamically update
fontWeight
property of aTextView
but this doesn't seem to work for the canvas implementation ofTextView
. This works perfectly fine for DOM implementation. I am using following method to update -Any pointers to fix this or a workaround would be appreciated.