Winson Chung | a694524 | 2014-01-08 14:04:34 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 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 | <com.android.launcher3.Cling |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | launcher:drawIdentifier="migration_portrait"> |
| 22 | <FrameLayout |
| 23 | android:id="@+id/content" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="match_parent" |
| 26 | android:orientation="vertical"> |
| 27 | |
| 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:layout_gravity="top" |
| 32 | android:layout_marginStart="25dp" |
| 33 | android:layout_marginEnd="25dp" |
| 34 | android:orientation="vertical"> |
| 35 | <TextView |
| 36 | style="@style/ClingAltTitleText" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_gravity="top" |
| 40 | android:layout_marginBottom="10dp" |
| 41 | android:gravity="center" |
| 42 | android:text="@string/first_run_cling_title" /> |
| 43 | |
| 44 | <ImageView |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_gravity="center_horizontal" |
| 48 | android:src="@drawable/cling_arrow_up" /> |
| 49 | <LinearLayout |
| 50 | android:paddingLeft="20dp" |
| 51 | android:paddingRight="20dp" |
| 52 | android:paddingTop="20dp" |
| 53 | android:paddingBottom="20dp" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:orientation="vertical" |
| 57 | android:background="@drawable/cling"> |
| 58 | <TextView |
| 59 | style="@style/ClingTitleText" |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:text="@string/migration_cling_title" /> |
| 63 | <TextView |
| 64 | style="@style/ClingText" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:text="@string/migration_cling_description" /> |
| 68 | </LinearLayout> |
| 69 | </LinearLayout> |
| 70 | |
| 71 | <LinearLayout |
| 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:layout_gravity="bottom" |
| 75 | android:layout_marginStart="25dp" |
| 76 | android:layout_marginEnd="25dp" |
| 77 | android:layout_marginBottom="25dp" |
| 78 | android:orientation="vertical"> |
| 79 | <Button |
| 80 | style="@style/ClingButton" |
| 81 | android:layout_width="match_parent" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:text="@string/migration_cling_copy_apps" |
| 84 | android:onClick="dismissMigrationClingCopyApps" /> |
| 85 | <Button |
| 86 | style="@style/ClingButton" |
| 87 | android:layout_width="match_parent" |
| 88 | android:layout_height="wrap_content" |
| 89 | android:text="@string/migration_cling_use_default" |
| 90 | android:onClick="dismissMigrationClingUseDefault" /> |
| 91 | </LinearLayout> |
| 92 | </FrameLayout> |
| 93 | </com.android.launcher3.Cling> |