multi_arg_adapter_evaluation_test.xml revision e9b33bac04bb1ce1444d7f1744fcec1ecd3a57da
1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2015 The Android Open Source Project 3 ~ Licensed under the Apache License, Version 2.0 (the "License"); 4 ~ you may not use this file except in compliance with the License. 5 ~ You may obtain a copy of the License at 6 ~ http://www.apache.org/licenses/LICENSE-2.0 7 ~ Unless required by applicable law or agreed to in writing, software 8 ~ distributed under the License is distributed on an "AS IS" BASIS, 9 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 ~ See the License for the specific language governing permissions and 11 ~ limitations under the License. 12 --> 13 14<layout xmlns:android="http://schemas.android.com/apk/res/android" 15 xmlns:bind="http://schemas.android.com/apk/res-auto"> 16 17 <data> 18 19 <variable 20 name="obj1" 21 type="android.databinding.testapp.adapter.MultiArgTestAdapter.MultiBindingClass1" /> 22 23 <variable 24 name="obj2" 25 type="android.databinding.testapp.adapter.MultiArgTestAdapter.MultiBindingClass2" /> 26 </data> 27 28 <LinearLayout 29 android:orientation="vertical" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent"> 32 33 <TextView 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:id="@+id/merged" 37 android:class1str="@{obj1.value}" 38 android:class2str="@{obj2.value}" /> 39 <TextView 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:id="@+id/view2" 43 android:text="@{obj2.value}" /> 44 <TextView 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:id="@+id/view2text" 48 android:classStr="@{obj2.value}" /> 49 </LinearLayout> 50</layout>