1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 The Android Open Source Project 3 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 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:orientation="vertical" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:id="@+id/container"> 22 <Button 23 android:layout_width="wrap_content" 24 android:layout_height="wrap_content" 25 android:text="Invalidate" 26 android:id="@+id/invalidateButton"/> 27 <Button 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:text="Button" 31 android:id="@+id/button"/> 32 <TextView 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="Some text" 36 android:id="@+id/textview"/> 37 <TextView 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:id="@+id/spantext"/> 41 <EditText 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:text="Edit text" 45 android:id="@+id/edittext"/> 46 <EditText 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:text="Selected text" 50 android:id="@+id/selectedtext"/> 51 <TextView 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:text="Some text" 55 android:background="#00ff00" 56 android:id="@+id/textviewbackground"/> 57 <ImageView 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:src="@drawable/icon" 61 android:id="@+id/imageview"/> 62 <LinearLayout 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:orientation="horizontal" 66 android:id="@+id/layout"> 67 <Button 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:text="Button"/> 71 <TextView 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:text="Some text"/> 75 <TextView 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:text="Some text" 79 android:background="#00ff00"/> 80 </LinearLayout> 81</LinearLayout>