Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 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 | --> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 16 | <com.android.launcher3.Cling |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 18 | xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" |
Romain Guy | e34a213 | 2012-10-17 12:04:05 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 21 | launcher:drawIdentifier="workspace_portrait"> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 22 | <FrameLayout |
| 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="match_parent" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 25 | android:layout_marginStart="20dp" |
| 26 | android:layout_marginEnd="20dp" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 27 | android:layout_marginTop="90dp"> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:orientation="vertical"> |
| 32 | <TextView |
| 33 | style="@style/ClingTitleText" |
Romain Guy | e34a213 | 2012-10-17 12:04:05 -0700 | [diff] [blame] | 34 | android:layout_width="wrap_content" |
| 35 | android:layout_height="wrap_content" |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 36 | android:text="@string/workspace_cling_title" /> |
| 37 | <TextView |
| 38 | style="@style/ClingText" |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:text="@string/workspace_cling_move_item" /> |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 42 | </LinearLayout> |
| 43 | </FrameLayout> |
| 44 | <TextView |
| 45 | style="@style/ClingText" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 46 | android:layout_width="match_parent" |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 48 | android:layout_marginStart="20dp" |
| 49 | android:layout_marginEnd="20dp" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 50 | android:layout_marginBottom="130dp" |
| 51 | android:layout_gravity="bottom" |
| 52 | android:gravity="center" |
Winson Chung | d016015 | 2011-11-15 15:04:42 -0800 | [diff] [blame] | 53 | android:text="@string/workspace_cling_open_all_apps" /> |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 54 | <Button |
| 55 | style="@style/ClingButton" |
Romain Guy | e34a213 | 2012-10-17 12:04:05 -0700 | [diff] [blame] | 56 | android:layout_width="wrap_content" |
| 57 | android:layout_height="wrap_content" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 58 | android:layout_marginBottom="15dp" |
Fabrice Di Meglio | cc11f74 | 2012-12-18 16:25:49 -0800 | [diff] [blame] | 59 | android:layout_marginEnd="10dp" |
| 60 | android:layout_gravity="bottom|end" |
Winson Chung | 74ba65b | 2012-08-23 11:58:30 -0700 | [diff] [blame] | 61 | android:onClick="dismissWorkspaceCling" /> |
Daniel Sandler | 325dc23 | 2013-06-05 22:57:57 -0400 | [diff] [blame] | 62 | </com.android.launcher3.Cling> |