view_with_tag.xml revision c1560e6b00b398867da12fbdc5a1fcd1d50b801c
123b797ab5151eb2474f3bdd679f2f07bfd723042John Reck<?xml version="1.0" encoding="utf-8"?> 223b797ab5151eb2474f3bdd679f2f07bfd723042John Reck<!-- 323b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ Copyright (C) 2015 The Android Open Source Project 423b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ Licensed under the Apache License, Version 2.0 (the "License"); 523b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ you may not use this file except in compliance with the License. 623b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ You may obtain a copy of the License at 723b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ http://www.apache.org/licenses/LICENSE-2.0 823b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ Unless required by applicable law or agreed to in writing, software 923b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ distributed under the License is distributed on an "AS IS" BASIS, 1023b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1123b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ See the License for the specific language governing permissions and 1223b797ab5151eb2474f3bdd679f2f07bfd723042John Reck ~ limitations under the License. 1323b797ab5151eb2474f3bdd679f2f07bfd723042John Reck --> 1423b797ab5151eb2474f3bdd679f2f07bfd723042John Reck<layout xmlns:android="http://schemas.android.com/apk/res/android"> 1523b797ab5151eb2474f3bdd679f2f07bfd723042John Reck <data> 1623b797ab5151eb2474f3bdd679f2f07bfd723042John Reck <variable name="str" type="String"/> 1723b797ab5151eb2474f3bdd679f2f07bfd723042John Reck </data> 1823b797ab5151eb2474f3bdd679f2f07bfd723042John Reck <LinearLayout 19d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:orientation="vertical" android:layout_width="match_parent" 20d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:layout_height="match_parent"> 21d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck <View 223b20251a355c88193c439f928a84ae69483fb488John Reck android:tag="i have a tag" 23d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:layout_width="wrap_content" 24d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:layout_height="wrap_content"/> 25d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck <TextView 264f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck android:text="@{str}" 27d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:layout_width="wrap_content" 28d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck android:layout_height="wrap_content" /> 2923b797ab5151eb2474f3bdd679f2f07bfd723042John Reck </LinearLayout> 3065fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6Chris Craik</layout> 31d04794a9a3f9edc8b7ca336175d66eb81a8f55faJohn Reck