Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2011 The Android Open Source Project |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 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 | --> |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Goyal | 75f8adf | 2014-10-28 16:30:20 -0700 | [diff] [blame] | 18 | xmlns:launcher="http://schemas.android.com/apk/res-auto" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 19 | android:id="@+id/migration_cling" |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent" |
Sunny Goyal | 75f8adf | 2014-10-28 16:30:20 -0700 | [diff] [blame] | 22 | launcher:layout_ignoreInsets="true" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 23 | android:background="#FF009688" |
| 24 | android:baselineAligned="false" |
| 25 | android:gravity="center_vertical" > |
| 26 | |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 27 | <FrameLayout |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 28 | android:layout_width="0dp" |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 29 | android:layout_height="match_parent" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 30 | android:layout_weight="1" > |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 31 | |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 32 | <ImageView |
| 33 | android:layout_width="@dimen/cling_migration_bg_size" |
| 34 | android:layout_height="@dimen/cling_migration_bg_size" |
| 35 | android:layout_gravity="center" |
| 36 | android:background="@drawable/bg_migration_cling" /> |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 37 | |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 38 | <ImageView |
| 39 | android:layout_width="@dimen/cling_migration_logo_width" |
| 40 | android:layout_height="@dimen/cling_migration_logo_height" |
| 41 | android:layout_gravity="center" |
| 42 | android:src="@drawable/ic_migration" /> |
Winson Chung | 5317c2b | 2014-01-10 16:46:15 -0800 | [diff] [blame] | 43 | </FrameLayout> |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 44 | |
| 45 | <LinearLayout |
Sunny Goyal | 10c7764 | 2014-09-12 11:51:32 -0700 | [diff] [blame] | 46 | android:layout_width="@dimen/cling_migration_content_width" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
Sunny Goyal | 10c7764 | 2014-09-12 11:51:32 -0700 | [diff] [blame] | 48 | android:layout_marginEnd="@dimen/cling_migration_content_margin" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 49 | android:orientation="vertical" |
| 50 | android:paddingLeft="24dp" |
| 51 | android:paddingRight="24dp" > |
| 52 | |
| 53 | <TextView |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:paddingBottom="8dp" |
| 57 | android:text="@string/first_run_cling_title" |
| 58 | android:textColor="#E1000000" |
| 59 | android:textSize="34sp" /> |
| 60 | |
| 61 | <TextView |
| 62 | android:layout_width="wrap_content" |
| 63 | android:layout_height="wrap_content" |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 64 | android:fontFamily="sans-serif-medium" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 65 | android:text="@string/migration_cling_title" |
| 66 | android:textColor="#E1000000" |
| 67 | android:textSize="20sp" /> |
| 68 | |
| 69 | <TextView |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:paddingBottom="24dp" |
| 73 | android:text="@string/migration_cling_description" |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 74 | android:textColor="#99000000" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 75 | android:textSize="16sp" /> |
| 76 | |
| 77 | <LinearLayout |
| 78 | android:layout_width="match_parent" |
| 79 | android:layout_height="wrap_content" > |
| 80 | |
| 81 | <Button |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 82 | android:id="@+id/cling_dismiss_migration_copy_apps" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 83 | style="?android:attr/buttonBarButtonStyle" |
| 84 | android:layout_width="0dp" |
| 85 | android:layout_height="wrap_content" |
| 86 | android:layout_weight="1" |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 87 | android:fontFamily="sans-serif-medium" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 88 | android:text="@string/migration_cling_copy_apps" |
| 89 | android:textColor="#FFFFFFFF" |
| 90 | android:textSize="14sp" /> |
| 91 | |
| 92 | <Button |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 93 | android:id="@+id/cling_dismiss_migration_use_default" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 94 | style="?android:attr/buttonBarButtonStyle" |
| 95 | android:layout_width="0dp" |
| 96 | android:layout_height="wrap_content" |
| 97 | android:layout_weight="1" |
Sunny Goyal | 7661614 | 2014-08-26 10:54:08 -0700 | [diff] [blame] | 98 | android:fontFamily="sans-serif-medium" |
Sunny Goyal | 424418b | 2014-08-22 16:09:37 -0700 | [diff] [blame] | 99 | android:text="@string/migration_cling_use_default" |
| 100 | android:textColor="#deFFFFFF" |
| 101 | android:textSize="14sp" /> |
| 102 | </LinearLayout> |
| 103 | </LinearLayout> |
| 104 | |
| 105 | </LinearLayout> |