switch_adapter_test.xml revision fead9ca09b117136b35bc5bf137340a754f9eddd
1<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3              android:orientation="vertical"
4              android:layout_width="match_parent"
5              android:layout_height="match_parent">
6    <variable name="obj" type="android.databinding.testapp.vo.SwitchBindingObject"/>
7    <Switch
8            android:layout_width="match_parent" android:layout_height="match_parent"
9            android:id="@+id/view"
10            android:thumb="@{obj.thumb}"
11            android:track="@{obj.track}"
12            />
13</LinearLayout>
14