blob: 269c1aee6d68d50dc10b579676eba8ff80c48741 [file] [log] [blame]
Winson Chung5317c2b2014-01-10 16:46:15 -08001<?xml version="1.0" encoding="utf-8"?>
Sunny Goyal424418b2014-08-22 16:09:37 -07002<!--
3 Copyright (C) 2011 The Android Open Source Project
Winson Chung5317c2b2014-01-10 16:46:15 -08004
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 Goyal424418b2014-08-22 16:09:37 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyal75f8adf2014-10-28 16:30:20 -070018 xmlns:launcher="http://schemas.android.com/apk/res-auto"
Sunny Goyal424418b2014-08-22 16:09:37 -070019 android:id="@+id/migration_cling"
Winson Chung5317c2b2014-01-10 16:46:15 -080020 android:layout_width="match_parent"
21 android:layout_height="match_parent"
Sunny Goyal75f8adf2014-10-28 16:30:20 -070022 launcher:layout_ignoreInsets="true"
Sunny Goyal424418b2014-08-22 16:09:37 -070023 android:background="#FF009688"
24 android:baselineAligned="false"
25 android:gravity="center_vertical" >
26
Winson Chung5317c2b2014-01-10 16:46:15 -080027 <FrameLayout
Sunny Goyal424418b2014-08-22 16:09:37 -070028 android:layout_width="0dp"
Winson Chung5317c2b2014-01-10 16:46:15 -080029 android:layout_height="match_parent"
Sunny Goyal424418b2014-08-22 16:09:37 -070030 android:layout_weight="1" >
Winson Chung5317c2b2014-01-10 16:46:15 -080031
Sunny Goyal424418b2014-08-22 16:09:37 -070032 <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 Chung5317c2b2014-01-10 16:46:15 -080037
Sunny Goyal424418b2014-08-22 16:09:37 -070038 <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 Chung5317c2b2014-01-10 16:46:15 -080043 </FrameLayout>
Sunny Goyal424418b2014-08-22 16:09:37 -070044
45 <LinearLayout
Sunny Goyal10c77642014-09-12 11:51:32 -070046 android:layout_width="@dimen/cling_migration_content_width"
Sunny Goyal424418b2014-08-22 16:09:37 -070047 android:layout_height="wrap_content"
Sunny Goyal10c77642014-09-12 11:51:32 -070048 android:layout_marginEnd="@dimen/cling_migration_content_margin"
Sunny Goyal70660032015-05-14 00:07:08 -070049 android:layout_marginRight="@dimen/cling_migration_content_margin"
Sunny Goyal424418b2014-08-22 16:09:37 -070050 android:orientation="vertical"
51 android:paddingLeft="24dp"
52 android:paddingRight="24dp" >
53
54 <TextView
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:paddingBottom="8dp"
58 android:text="@string/first_run_cling_title"
59 android:textColor="#E1000000"
60 android:textSize="34sp" />
61
62 <TextView
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
Sunny Goyal76616142014-08-26 10:54:08 -070065 android:fontFamily="sans-serif-medium"
Sunny Goyal424418b2014-08-22 16:09:37 -070066 android:text="@string/migration_cling_title"
67 android:textColor="#E1000000"
68 android:textSize="20sp" />
69
70 <TextView
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:paddingBottom="24dp"
74 android:text="@string/migration_cling_description"
Sunny Goyal76616142014-08-26 10:54:08 -070075 android:textColor="#99000000"
Sunny Goyal424418b2014-08-22 16:09:37 -070076 android:textSize="16sp" />
77
78 <LinearLayout
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content" >
81
82 <Button
Sunny Goyal76616142014-08-26 10:54:08 -070083 android:id="@+id/cling_dismiss_migration_copy_apps"
Sunny Goyal424418b2014-08-22 16:09:37 -070084 style="?android:attr/buttonBarButtonStyle"
85 android:layout_width="0dp"
86 android:layout_height="wrap_content"
87 android:layout_weight="1"
Sunny Goyal76616142014-08-26 10:54:08 -070088 android:fontFamily="sans-serif-medium"
Sunny Goyal424418b2014-08-22 16:09:37 -070089 android:text="@string/migration_cling_copy_apps"
90 android:textColor="#FFFFFFFF"
91 android:textSize="14sp" />
92
93 <Button
Sunny Goyal76616142014-08-26 10:54:08 -070094 android:id="@+id/cling_dismiss_migration_use_default"
Sunny Goyal424418b2014-08-22 16:09:37 -070095 style="?android:attr/buttonBarButtonStyle"
96 android:layout_width="0dp"
97 android:layout_height="wrap_content"
98 android:layout_weight="1"
Sunny Goyal76616142014-08-26 10:54:08 -070099 android:fontFamily="sans-serif-medium"
Sunny Goyal424418b2014-08-22 16:09:37 -0700100 android:text="@string/migration_cling_use_default"
101 android:textColor="#deFFFFFF"
102 android:textSize="14sp" />
103 </LinearLayout>
104 </LinearLayout>
105
106</LinearLayout>