1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** Copyright 2011, The Android Open Source Project 5 ** 6 ** Licensed under the Apache License, Version 2.0 (the "License"); 7 ** you may not use this file except in compliance with the License. 8 ** You may obtain a copy of the License at 9 ** 10 ** http://www.apache.org/licenses/LICENSE-2.0 11 ** 12 ** Unless required by applicable law or agreed to in writing, software 13 ** distributed under the License is distributed on an "AS IS" BASIS, 14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ** See the License for the specific language governing permissions and 16 ** limitations under the License. 17 */ 18 --> 19 20 <RelativeLayout 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_height="match_parent" 23 android:layout_width="match_parent" 24 android:background="@drawable/compat_mode_help_bg" 25 > 26 <TextView 27 android:id="@+id/header" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:layout_marginLeft="80dp" 31 android:layout_marginTop="80dp" 32 android:layout_marginRight="80dp" 33 android:textSize="60sp" 34 android:maxLines="1" 35 android:shadowRadius="8" 36 android:shadowColor="#FF000000" 37 android:text="@string/compat_mode_help_header" 38 android:background="@drawable/compat_mode_help_divider_top" 39 /> 40 <ImageView 41 android:id="@+id/diagram" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:layout_centerInParent="true" 45 android:src="@drawable/compat_mode_help_diagram" 46 android:contentDescription="@string/accessibility_compatibility_zoom_example" 47 /> 48 <RelativeLayout 49 android:orientation="horizontal" 50 android:layout_width="match_parent" 51 android:layout_height="190dp" 52 android:background="@drawable/compat_mode_help_divider_bottom" 53 android:layout_marginBottom="55dp" 54 android:layout_marginRight="80dp" 55 android:layout_alignLeft="@id/header" 56 android:layout_alignParentBottom="true" 57 > 58 <ImageView 59 android:id="@+id/icon" 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 android:layout_alignParentRight="true" 63 android:layout_centerVertical="true" 64 android:src="@drawable/compat_mode_help_icon" 65 android:contentDescription="@string/accessibility_compatibility_zoom_button" 66 /> 67 <TextView 68 android:id="@+id/explanation" 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:layout_centerVertical="true" 72 android:layout_alignParentLeft="true" 73 android:layout_toLeftOf="@id/icon" 74 android:layout_marginRight="10dp" 75 android:shadowRadius="4" 76 android:shadowColor="#FF000000" 77 android:textSize="28sp" 78 android:text="@string/compat_mode_help_body" 79 /> 80 </RelativeLayout> 81 <Button 82 android:id="@+id/button" 83 android:layout_width="208dp" 84 android:layout_height="48dp" 85 android:layout_alignLeft="@id/header" 86 android:layout_alignParentBottom="true" 87 android:layout_marginBottom="20dp" 88 android:textSize="28sp" 89 android:text="@android:string/ok" 90 /> 91 </RelativeLayout> 92 93