I am new to Android. I have a paragraph in string
which looks like below
String my_paragraph ="Software is a set of instructions, data or programs used to operate computers and execute specific tasks. It is the opposite of hardware, which describes the physical aspects of a computer. Software is a generic term used to refer to applications, scripts and programs that run on a device."
textView.setText(my_paragraph);
I want to display it in the Text View like this below image:
But what I got is I added below
I want the first line in text view(paragraph) should starts in the middle. I don't want to add leading spaces in string
. I don't know how to achieve this. Please help me with some solutions.