1

こんにちは、xml でトグル ボタンを使用しており、テキストを allSchools に設定しています。

私のコードは

 <Switch
    android:id="@+id/switch1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/execute_Search"
    android:layout_centerHorizontal="true"
    android:layout_marginBottom="18dp"
    android:textColor="@color/white"
    android:text="All Schools" />

右側にトグル ボタン、左側にラベルを表示しています。

逆であってほしい。

4

0 に答える 0