blob: 9c000cb54382ae1c4c8ba1baff4ca0485e83855b [file] [log] [blame]
Winson Chung82f55532011-08-09 14:14:23 -07001<?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 Chung82f55532011-08-09 14:14:23 -070017 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 Chung7d7541e2011-09-16 20:14:36 -070021 launcher:drawIdentifier="workspace_portrait">
Winson Chung82f55532011-08-09 14:14:23 -070022 <FrameLayout
Winson Chungaf40f202013-09-18 18:26:31 -070023 android:id="@+id/content"
Winson Chung82f55532011-08-09 14:14:23 -070024 android:layout_width="match_parent"
Winson Chung3a6e7f32013-10-09 15:50:52 -070025 android:layout_height="match_parent">
Winson Chung7d7541e2011-09-16 20:14:36 -070026 <LinearLayout
27 android:layout_width="match_parent"
Winson Chung82f55532011-08-09 14:14:23 -070028 android:layout_height="wrap_content"
Winson Chung45cab392013-10-02 17:45:32 -070029 android:layout_gravity="top"
Winson Chung3a6e7f32013-10-09 15:50:52 -070030 android:layout_marginStart="25dp"
31 android:layout_marginEnd="25dp"
32 android:layout_marginTop="30dp"
Winson Chung7d7541e2011-09-16 20:14:36 -070033 android:orientation="vertical">
Winson Chungaf40f202013-09-18 18:26:31 -070034 <LinearLayout
35 android:paddingLeft="20dp"
36 android:paddingRight="20dp"
37 android:paddingTop="20dp"
38 android:paddingBottom="20dp"
Winson Chung7d7541e2011-09-16 20:14:36 -070039 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
Winson Chungaf40f202013-09-18 18:26:31 -070041 android:orientation="vertical"
42 android:background="@drawable/cling">
43 <TextView
44 style="@style/ClingTitleText"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:text="@string/workspace_cling_title" />
48 <TextView
49 style="@style/ClingText"
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 android:text="@string/workspace_cling_move_item" />
53 </LinearLayout>
Winson Chung3a6e7f32013-10-09 15:50:52 -070054 <ImageView
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_gravity="center_horizontal"
58 android:src="@drawable/cling_arrow_down" />
59 </LinearLayout>
60
61 <LinearLayout
62 android:id="@+id/focused_hotseat_app_bubble"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
Winson Chungf7e11e92013-10-10 16:28:52 -070065 android:layout_gravity="bottom|right"
66 android:layout_marginRight="25dp"
67 android:layout_marginBottom="90dp"
Winson Chung3a6e7f32013-10-09 15:50:52 -070068 android:orientation="vertical"
69 android:visibility="gone">
70 <LinearLayout
71 android:paddingLeft="20dp"
72 android:paddingRight="20dp"
73 android:paddingTop="20dp"
74 android:paddingBottom="20dp"
75 android:layout_width="240dp"
76 android:layout_height="wrap_content"
77 android:orientation="vertical"
78 android:background="@drawable/cling">
79 <TextView
80 android:id="@+id/focused_hotseat_app_title"
81 style="@style/ClingTitleText"
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content" />
84 <TextView
85 android:id="@+id/focused_hotseat_app_description"
86 style="@style/ClingText"
87 android:layout_width="match_parent"
88 android:layout_height="wrap_content" />
89 </LinearLayout>
90 <ImageView
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
Winson Chungf7e11e92013-10-10 16:28:52 -070093 android:layout_gravity="right"
94 android:layout_marginRight="80dp"
Winson Chung3a6e7f32013-10-09 15:50:52 -070095 android:src="@drawable/cling_arrow_down" />
Winson Chung7d7541e2011-09-16 20:14:36 -070096 </LinearLayout>
Winson Chung82f55532011-08-09 14:14:23 -070097 </FrameLayout>
Winson Chung3a6e7f32013-10-09 15:50:52 -070098
Winson Chung7d7541e2011-09-16 20:14:36 -070099 <Button
100 style="@style/ClingButton"
Romain Guye34a2132012-10-17 12:04:05 -0700101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
Winson Chung7d7541e2011-09-16 20:14:36 -0700103 android:layout_marginBottom="15dp"
Winson Chungf7e11e92013-10-10 16:28:52 -0700104 android:layout_marginLeft="20dp"
105 android:layout_gravity="bottom|left"
Winson Chung7d7541e2011-09-16 20:14:36 -0700106 android:onClick="dismissWorkspaceCling" />
Daniel Sandler325dc232013-06-05 22:57:57 -0400107</com.android.launcher3.Cling>