view_adapter_test.xml revision 3b8fedce6e9ee814ffe7b63d07aa5456f08fb9b2
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2015 The Android Open Source Project 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ http://www.apache.org/licenses/LICENSE-2.0 8 ~ Unless required by applicable law or agreed to in writing, software 9 ~ distributed under the License is distributed on an "AS IS" BASIS, 10 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 ~ See the License for the specific language governing permissions and 12 ~ limitations under the License. 13 --> 14<layout xmlns:android="http://schemas.android.com/apk/res/android"> 15 <data> 16 <variable name="obj" type="android.databinding.testapp.vo.ViewBindingObject"/> 17 </data> 18 <LinearLayout 19 android:orientation="vertical" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 > 23 <View 24 android:id="@+id/padding" 25 android:layout_width="10dp" 26 android:layout_height="10dp" 27 android:padding="@{obj.padding}" 28 /> 29 <View 30 android:id="@+id/paddingStartEnd" 31 android:layout_width="10dp" 32 android:layout_height="10dp" 33 android:paddingEnd="@{obj.paddingEnd}" 34 android:paddingStart="@{obj.paddingStart}" 35 /> 36 <View 37 android:id="@+id/paddingTopBottom" 38 android:layout_width="10dp" 39 android:layout_height="10dp" 40 android:paddingBottom="@{obj.paddingBottom}" 41 android:paddingTop="@{obj.paddingTop}" 42 /> 43 <View 44 android:id="@+id/paddingLeftRight" 45 android:layout_width="10dp" 46 android:layout_height="10dp" 47 android:paddingLeft="@{obj.paddingLeft}" 48 android:paddingRight="@{obj.paddingRight}" 49 /> 50 <View 51 android:id="@+id/backgroundTint" 52 android:backgroundTint="@{obj.backgroundTint}" 53 android:layout_width="10dp" 54 android:layout_height="10dp"/> 55 <View 56 android:id="@+id/fadeScrollbars" 57 android:fadeScrollbars="@{obj.fadeScrollbars}" 58 android:layout_width="10dp" 59 android:layout_height="10dp"/> 60 <View 61 android:id="@+id/nextFocus" 62 android:nextFocusForward="@{obj.nextFocusForward}" 63 android:nextFocusLeft="@{obj.nextFocusLeft}" 64 android:nextFocusRight="@{obj.nextFocusRight}" 65 android:nextFocusUp="@{obj.nextFocusUp}" 66 android:nextFocusDown="@{obj.nextFocusDown}" 67 android:layout_width="10dp" 68 android:layout_height="10dp"/> 69 <View 70 android:id="@+id/requiresFadingEdge" 71 android:requiresFadingEdge="@{obj.requiresFadingEdge}" 72 android:layout_width="10dp" 73 android:layout_height="10dp"/> 74 <View 75 android:id="@+id/scrollbar" 76 android:scrollbarDefaultDelayBeforeFade="@{obj.scrollbarDefaultDelayBeforeFade}" 77 android:scrollbarFadeDuration="@{obj.scrollbarFadeDuration}" 78 android:scrollbarSize="@{obj.scrollbarSize}" 79 android:scrollbarStyle="@{obj.scrollbarStyle}" 80 android:layout_width="10dp" 81 android:layout_height="10dp"/> 82 <View 83 android:id="@+id/transformPivot" 84 android:transformPivotX="@{obj.transformPivotX}" 85 android:transformPivotY="@{obj.transformPivotY}" 86 android:layout_width="10dp" 87 android:layout_height="10dp"/> 88 </LinearLayout> 89</layout>