123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- Copyright (C) 2011 The Android Open Source Project
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:launcher="http://schemas.android.com/apk/res-auto"
- android:id="@+id/migration_cling"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- launcher:layout_ignoreInsets="true"
- android:background="#FF009688" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical" >
- <ImageView
- android:layout_width="@dimen/cling_migration_bg_size"
- android:layout_height="@dimen/cling_migration_bg_size"
- android:layout_below="@+id/ic_cling_migration"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="@dimen/cling_migration_bg_shift"
- android:src="@drawable/bg_migration_cling" />
- <ImageView
- android:id="@+id/ic_cling_migration"
- android:layout_width="@dimen/cling_migration_logo_width"
- android:layout_height="@dimen/cling_migration_logo_height"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:src="@drawable/ic_migration" />
- <LinearLayout
- android:layout_width="@dimen/cling_migration_content_width"
- android:layout_height="wrap_content"
- android:layout_below="@+id/ic_cling_migration"
- android:layout_marginStart="@dimen/cling_migration_content_margin"
- android:layout_marginLeft="@dimen/cling_migration_content_margin"
- android:orientation="vertical"
- android:paddingLeft="24dp"
- android:paddingRight="24dp" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingBottom="8dp"
- android:text="@string/first_run_cling_title"
- android:textColor="#E1000000"
- android:textSize="34sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-medium"
- android:text="@string/migration_cling_title"
- android:textColor="#E1000000"
- android:textSize="20sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingBottom="24dp"
- android:text="@string/migration_cling_description"
- android:textColor="#99000000"
- android:textSize="16sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <Button
- android:id="@+id/cling_dismiss_migration_copy_apps"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:text="@string/migration_cling_copy_apps"
- android:textColor="#FFFFFFFF"
- android:textSize="14sp" />
- <Button
- android:id="@+id/cling_dismiss_migration_use_default"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:text="@string/migration_cling_use_default"
- android:textColor="#deFFFFFF"
- android:textSize="14sp" />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
- </FrameLayout>
|