I\'m making a watch face for my android wear watch and in the config activity I want a switch. The switch looks like a usual android switch (picture 1) but I want it to look
The switch in picture 2 is a SwitchPreference which is (at least currently) only supported in a PreferenceFragment.
You can use Widget.Wear.RoundSwitch
style to get the round switch style.
Here is an example:
<Switch
style="@style/Widget.Wear.RoundSwitch"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
In the latest update we added a RoundSwitch style which should do exactly what you need.
See here: Support Library Wear R.style