Home | History | Annotate | Download | only in layout-sw600dp
      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     <LinearLayout
     23         android:id="@+id/content"
     24         android:layout_width="360dp"
     25         android:layout_height="wrap_content"
     26         android:layout_gravity="center"
     27         android:orientation="vertical">
     28 
     29         <LinearLayout
     30             android:layout_width="match_parent"
     31             android:layout_height="wrap_content"
     32             android:layout_gravity="top"
     33             android:layout_marginBottom="15dp"
     34             android:orientation="vertical">
     35             <TextView
     36                 android:layout_width="match_parent"
     37                 android:layout_height="wrap_content"
     38                 android:gravity="center"
     39                 android:text="@string/first_run_cling_title"
     40                 android:textSize="42dp"
     41                 android:textColor="#FFffffff" />
     42             <ImageView
     43                 android:layout_width="wrap_content"
     44                 android:layout_height="wrap_content"
     45                 android:layout_marginTop="10dp"
     46                 android:layout_marginBottom="0dp"
     47                 android:layout_gravity="center_horizontal"
     48                 android:src="@drawable/on_boarding_welcome" />
     49 
     50             <ImageView
     51                 android:layout_width="wrap_content"
     52                 android:layout_height="wrap_content"
     53                 android:layout_gravity="center_horizontal"
     54                 android:src="@drawable/cling_arrow_up" />
     55             <LinearLayout
     56                 android:layout_width="match_parent"
     57                 android:layout_height="wrap_content"
     58                 android:layout_marginLeft="4dp"
     59                 android:layout_marginRight="4dp"
     60                 android:paddingLeft="25dp"
     61                 android:paddingRight="25dp"
     62                 android:paddingTop="20dp"
     63                 android:paddingBottom="20dp"
     64                 android:orientation="vertical"
     65                 android:background="@drawable/cling">
     66                 <TextView
     67                     style="@style/ClingTitleText"
     68                     android:layout_width="wrap_content"
     69                     android:layout_height="wrap_content"
     70                     android:text="@string/migration_cling_title" />
     71                 <TextView
     72                     style="@style/ClingText"
     73                     android:layout_width="match_parent"
     74                     android:layout_height="wrap_content"
     75                     android:text="@string/migration_cling_description" />
     76             </LinearLayout>
     77         </LinearLayout>
     78 
     79         <LinearLayout
     80             android:layout_width="match_parent"
     81             android:layout_height="wrap_content"
     82             android:layout_gravity="bottom"
     83             android:orientation="vertical">
     84             <Button
     85                 style="@style/ClingButton"
     86                 android:layout_width="match_parent"
     87                 android:layout_height="wrap_content"
     88                 android:text="@string/migration_cling_copy_apps"
     89                 android:onClick="dismissMigrationClingCopyApps" />
     90             <Button
     91                 style="@style/ClingButton"
     92                 android:layout_width="match_parent"
     93                 android:layout_height="wrap_content"
     94                 android:text="@string/migration_cling_use_default"
     95                 android:onClick="dismissMigrationClingUseDefault" />
     96         </LinearLayout>
     97     </LinearLayout>
     98 </com.android.launcher3.Cling>
     99