问题
Hi i am using a toggle button , in xml, and have set text as allSchools
My code is
<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" />
It is displaying the toggle button on the right and the label on the left.
I want it to be the other way around.
来源:https://stackoverflow.com/questions/16986875/how-to-move-toggle-button-label-to-right-side