Start a Project

Setting STRIKE_THROUGH Text in TextView via DataBinding

There are many scenarios in which we need to show a Strike-through text to an android user like Old prices, old offers, etc. But android doesn’t give any such option via XML file.

So, How we can set a text in TextView to show a Strike-through text via DataBinding?

 

 

Exit mobile version