You will learn how to use Android strikethrough text to crossed out the text in the TextView and the Button.
You can crossed out a text when you want to show the current and discount price or while you are editing some text in a notepad.
We will build a demo app that will have a TextView with text and a Button.
When you tap on the button, the text inside the TextView will have strikethrough text, when you tap again for the second time Android strikethrough text will be removed.
Check out the link below for more Android tutorials:
https://www.codingdemos.com