106 lines
No EOL
4.3 KiB
XML
106 lines
No EOL
4.3 KiB
XML
<?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.
|
|
-->
|
|
<LinearLayout 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="@color/migration_cling_background_color"
|
|
android:baselineAligned="false"
|
|
android:gravity="center_vertical" >
|
|
|
|
<FrameLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" >
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/cling_migration_bg_size"
|
|
android:layout_height="@dimen/cling_migration_bg_size"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/bg_migration_cling" />
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/cling_migration_logo_width"
|
|
android:layout_height="@dimen/cling_migration_logo_height"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_migration" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="@dimen/cling_migration_content_width"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/cling_migration_content_margin"
|
|
android:layout_marginRight="@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="@color/first_run_cling_title_color"
|
|
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="@color/first_run_cling_title_color"
|
|
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="@color/migration_cling_description_text_color"
|
|
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="@color/migration_cling_copy_apps_text_color"
|
|
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="@color/migration_cling_use_default_text_color"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |