Home | History | Annotate | Download | only in layout-port
      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.launcher2.Cling
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     launcher:drawIdentifier="workspace_portrait">
     22     <FrameLayout
     23         android:layout_width="match_parent"
     24         android:layout_height="match_parent"
     25         android:layout_marginStart="20dp"
     26         android:layout_marginEnd="20dp"
     27         android:layout_marginTop="90dp">
     28         <LinearLayout
     29             android:layout_width="match_parent"
     30             android:layout_height="wrap_content"
     31             android:orientation="vertical">
     32             <TextView
     33                 style="@style/ClingTitleText"
     34                 android:layout_width="wrap_content"
     35                 android:layout_height="wrap_content"
     36                 android:text="@string/workspace_cling_title" />
     37             <TextView
     38                 style="@style/ClingText"
     39                 android:layout_width="match_parent"
     40                 android:layout_height="wrap_content"
     41                 android:text="@string/workspace_cling_move_item" />
     42         </LinearLayout>
     43     </FrameLayout>
     44     <TextView
     45         style="@style/ClingText"
     46         android:layout_width="match_parent"
     47         android:layout_height="wrap_content"
     48         android:layout_marginStart="20dp"
     49         android:layout_marginEnd="20dp"
     50         android:layout_marginBottom="130dp"
     51         android:layout_gravity="bottom"
     52         android:gravity="center"
     53         android:text="@string/workspace_cling_open_all_apps" />
     54     <Button
     55         style="@style/ClingButton"
     56         android:layout_width="wrap_content"
     57         android:layout_height="wrap_content"
     58         android:layout_marginBottom="15dp"
     59         android:layout_marginEnd="10dp"
     60         android:layout_gravity="bottom|end"
     61         android:onClick="dismissWorkspaceCling" />
     62 </com.android.launcher2.Cling>
     63