blob: 052e1a09140b524330471adaf2653dc3c8637819 [file] [log] [blame]
Winson Chungd0160152011-11-15 15:04:42 -08001<?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-->
Daniel Sandler325dc232013-06-05 22:57:57 -040016<com.android.launcher3.Cling
Winson Chungd0160152011-11-15 15:04:42 -080017 xmlns:android="http://schemas.android.com/apk/res/android"
Daniel Sandler325dc232013-06-05 22:57:57 -040018 xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
Romain Guye34a2132012-10-17 12:04:05 -070019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Winson Chung74ba65b2012-08-23 11:58:30 -070021 launcher:drawIdentifier="workspace_portrait">
Winson Chungd0160152011-11-15 15:04:42 -080022 <FrameLayout
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
Fabrice Di Megliocc11f742012-12-18 16:25:49 -080025 android:layout_marginStart="20dp"
26 android:layout_marginEnd="20dp"
Winson Chung74ba65b2012-08-23 11:58:30 -070027 android:layout_marginTop="90dp">
Winson Chungd0160152011-11-15 15:04:42 -080028 <LinearLayout
29 android:layout_width="match_parent"
30 android:layout_height="wrap_content"
31 android:orientation="vertical">
32 <TextView
33 style="@style/ClingTitleText"
Romain Guye34a2132012-10-17 12:04:05 -070034 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
Winson Chungd0160152011-11-15 15:04:42 -080036 android:text="@string/workspace_cling_title" />
37 <TextView
38 style="@style/ClingText"
Winson Chungd0160152011-11-15 15:04:42 -080039 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:text="@string/workspace_cling_move_item" />
Winson Chungd0160152011-11-15 15:04:42 -080042 </LinearLayout>
43 </FrameLayout>
44 <TextView
45 style="@style/ClingText"
Winson Chung74ba65b2012-08-23 11:58:30 -070046 android:layout_width="match_parent"
Winson Chungd0160152011-11-15 15:04:42 -080047 android:layout_height="wrap_content"
Fabrice Di Megliocc11f742012-12-18 16:25:49 -080048 android:layout_marginStart="20dp"
49 android:layout_marginEnd="20dp"
Winson Chung74ba65b2012-08-23 11:58:30 -070050 android:layout_marginBottom="130dp"
51 android:layout_gravity="bottom"
52 android:gravity="center"
Winson Chungd0160152011-11-15 15:04:42 -080053 android:text="@string/workspace_cling_open_all_apps" />
Winson Chung74ba65b2012-08-23 11:58:30 -070054 <Button
55 style="@style/ClingButton"
Romain Guye34a2132012-10-17 12:04:05 -070056 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
Winson Chung74ba65b2012-08-23 11:58:30 -070058 android:layout_marginBottom="15dp"
Fabrice Di Megliocc11f742012-12-18 16:25:49 -080059 android:layout_marginEnd="10dp"
60 android:layout_gravity="bottom|end"
Winson Chung74ba65b2012-08-23 11:58:30 -070061 android:onClick="dismissWorkspaceCling" />
Daniel Sandler325dc232013-06-05 22:57:57 -040062</com.android.launcher3.Cling>