Home | History | Annotate | Download | only in layout-port
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2011 The Android Open Source Project
      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 -->
     17 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:launcher="http://schemas.android.com/apk/res-auto"
     19     android:id="@+id/migration_cling"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     launcher:layout_ignoreInsets="true"
     23     android:background="#FF009688" >
     24 
     25     <RelativeLayout
     26         android:layout_width="match_parent"
     27         android:layout_height="wrap_content"
     28         android:layout_gravity="center_vertical" >
     29 
     30         <ImageView
     31             android:layout_width="@dimen/cling_migration_bg_size"
     32             android:layout_height="@dimen/cling_migration_bg_size"
     33             android:layout_below="@+id/ic_cling_migration"
     34             android:layout_centerHorizontal="true"
     35             android:layout_marginTop="@dimen/cling_migration_bg_shift"
     36             android:src="@drawable/bg_migration_cling" />
     37 
     38         <ImageView
     39             android:id="@+id/ic_cling_migration"
     40             android:layout_width="@dimen/cling_migration_logo_width"
     41             android:layout_height="@dimen/cling_migration_logo_height"
     42             android:layout_alignParentTop="true"
     43             android:layout_centerHorizontal="true"
     44             android:src="@drawable/ic_migration" />
     45 
     46         <LinearLayout
     47             android:layout_width="@dimen/cling_migration_content_width"
     48             android:layout_height="wrap_content"
     49             android:layout_below="@+id/ic_cling_migration"
     50             android:layout_marginStart="@dimen/cling_migration_content_margin"
     51             android:orientation="vertical"
     52             android:paddingLeft="24dp"
     53             android:paddingRight="24dp" >
     54 
     55             <TextView
     56                 android:layout_width="wrap_content"
     57                 android:layout_height="wrap_content"
     58                 android:paddingBottom="8dp"
     59                 android:text="@string/first_run_cling_title"
     60                 android:textColor="#E1000000"
     61                 android:textSize="34sp" />
     62 
     63             <TextView
     64                 android:layout_width="wrap_content"
     65                 android:layout_height="wrap_content"
     66                 android:fontFamily="sans-serif-medium"
     67                 android:text="@string/migration_cling_title"
     68                 android:textColor="#E1000000"
     69                 android:textSize="20sp" />
     70 
     71             <TextView
     72                 android:layout_width="wrap_content"
     73                 android:layout_height="wrap_content"
     74                 android:paddingBottom="24dp"
     75                 android:text="@string/migration_cling_description"
     76                 android:textColor="#99000000"
     77                 android:textSize="16sp" />
     78 
     79             <LinearLayout
     80                 android:layout_width="match_parent"
     81                 android:layout_height="wrap_content" >
     82 
     83                 <Button
     84                     android:id="@+id/cling_dismiss_migration_copy_apps"
     85                     style="?android:attr/buttonBarButtonStyle"
     86                     android:layout_width="0dp"
     87                     android:layout_height="wrap_content"
     88                     android:layout_weight="1"
     89                     android:fontFamily="sans-serif-medium"
     90                     android:text="@string/migration_cling_copy_apps"
     91                     android:textColor="#FFFFFFFF"
     92                     android:textSize="14sp" />
     93 
     94                 <Button
     95                     android:id="@+id/cling_dismiss_migration_use_default"
     96                     style="?android:attr/buttonBarButtonStyle"
     97                     android:layout_width="0dp"
     98                     android:layout_height="wrap_content"
     99                     android:layout_weight="1"
    100                     android:fontFamily="sans-serif-medium"
    101                     android:text="@string/migration_cling_use_default"
    102                     android:textColor="#deFFFFFF"
    103                     android:textSize="14sp" />
    104             </LinearLayout>
    105         </LinearLayout>
    106     </RelativeLayout>
    107 
    108 </FrameLayout>