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_landscape"> 22 <FrameLayout 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:layout_marginStart="40dp" 26 android:layout_marginTop="40dp"> 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:orientation="vertical"> 31 <TextView 32 style="@style/ClingTitleText" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="@string/workspace_cling_title" /> 36 <TextView 37 style="@style/ClingText" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:text="@string/workspace_cling_move_item" /> 41 </LinearLayout> 42 </FrameLayout> 43 <TextView 44 style="@style/ClingText" 45 android:layout_width="180dp" 46 android:layout_height="wrap_content" 47 android:layout_marginEnd="130dp" 48 android:layout_gravity="end|center_vertical" 49 android:gravity="end" 50 android:text="@string/workspace_cling_open_all_apps" /> 51 <Button 52 style="@style/ClingButton" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:layout_marginBottom="15dp" 56 android:layout_marginEnd="10dp" 57 android:layout_gravity="bottom|end" 58 android:onClick="dismissWorkspaceCling" /> 59 </com.android.launcher2.Cling> 60