1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright (C) 2011 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/migration_cling" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:background="#FF009688" 22 android:baselineAligned="false" 23 android:gravity="center_vertical" > 24 25 <FrameLayout 26 android:layout_width="0dp" 27 android:layout_height="match_parent" 28 android:layout_weight="1" > 29 30 <ImageView 31 android:layout_width="@dimen/cling_migration_bg_size" 32 android:layout_height="@dimen/cling_migration_bg_size" 33 android:layout_gravity="center" 34 android:background="@drawable/bg_migration_cling" /> 35 36 <ImageView 37 android:layout_width="@dimen/cling_migration_logo_width" 38 android:layout_height="@dimen/cling_migration_logo_height" 39 android:layout_gravity="center" 40 android:src="@drawable/ic_migration" /> 41 </FrameLayout> 42 43 <LinearLayout 44 android:layout_width="@dimen/cling_migration_content_width" 45 android:layout_height="wrap_content" 46 android:layout_marginEnd="@dimen/cling_migration_content_margin" 47 android:orientation="vertical" 48 android:paddingLeft="24dp" 49 android:paddingRight="24dp" > 50 51 <TextView 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:paddingBottom="8dp" 55 android:text="@string/first_run_cling_title" 56 android:textColor="#E1000000" 57 android:textSize="34sp" /> 58 59 <TextView 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 android:fontFamily="sans-serif-medium" 63 android:text="@string/migration_cling_title" 64 android:textColor="#E1000000" 65 android:textSize="20sp" /> 66 67 <TextView 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:paddingBottom="24dp" 71 android:text="@string/migration_cling_description" 72 android:textColor="#99000000" 73 android:textSize="16sp" /> 74 75 <LinearLayout 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content" > 78 79 <Button 80 android:id="@+id/cling_dismiss_migration_copy_apps" 81 style="?android:attr/buttonBarButtonStyle" 82 android:layout_width="0dp" 83 android:layout_height="wrap_content" 84 android:layout_weight="1" 85 android:fontFamily="sans-serif-medium" 86 android:text="@string/migration_cling_copy_apps" 87 android:textColor="#FFFFFFFF" 88 android:textSize="14sp" /> 89 90 <Button 91 android:id="@+id/cling_dismiss_migration_use_default" 92 style="?android:attr/buttonBarButtonStyle" 93 android:layout_width="0dp" 94 android:layout_height="wrap_content" 95 android:layout_weight="1" 96 android:fontFamily="sans-serif-medium" 97 android:text="@string/migration_cling_use_default" 98 android:textColor="#deFFFFFF" 99 android:textSize="14sp" /> 100 </LinearLayout> 101 </LinearLayout> 102 103 </LinearLayout>