Add label

Report a typo

What line needs to be added to the following XML code to label the Switch with the label "Mute"?

    <Switch
        android:id="@+id/switchElement"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
<!--    Insert line here />-->
    />

Write your answer without any spaces.

Enter a short text

Create a free account to access the full topic