Removing the Text Area from a Switch

158 Views Asked by At

How can I remove text area fully from a Switch View ? I do not want the text to take up any space in Switch. Is there anything like View.GONE ?

I tried these properties and failed:

        android:text=""
        android:textOn=""
        android:textOff=""

I also checked this post but it wasn't helpful. Removing Whitespaces From Switch

Thanks in advance.

0

There are 0 best solutions below