Skip to content

Xml attributes those are available to use

Lalit Jadav edited this page Mar 30, 2017 · 1 revision

This is view you can use in xml of Activity:

<lj.customswitchlibrary.ViewSwitch
    android:id="@+id/vsMySwitch"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:activeTextColor="@android:color/white"
    app:currentActive="First"
    app:firstText="First Page"
    app:inActiveTextColor="#282950"
    app:secondText="Second page"/>
Clone this wiki locally