summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-10-05 15:02:00 +0200
committerMichael Jurka <mikejurka@google.com>2012-10-05 15:36:20 +0200
commit68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55 (patch)
treeeb82329d4a79d9fcd62827e25964e49a5be7fad8 /res/layout
parent28b3e10fdea4d719b46d2e0da9a916bacc238fd1 (diff)
downloadandroid_packages_apps_Trebuchet-68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55.tar.gz
android_packages_apps_Trebuchet-68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55.tar.bz2
android_packages_apps_Trebuchet-68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55.zip
Add support for custom manta cling
- Load a custom cling if custom workspace layout is specified - Also persist any custom workspace layout Bug: 6992663
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/custom_workspace_cling.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/res/layout/custom_workspace_cling.xml b/res/layout/custom_workspace_cling.xml
new file mode 100644
index 000000000..5bdc58719
--- /dev/null
+++ b/res/layout/custom_workspace_cling.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- dummy layout, to be replaced in overlays -->
+<com.android.launcher2.Cling
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+ launcher:drawIdentifier="workspace_custom">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="20dp"
+ android:textColor="@android:color/holo_blue_light"
+ android:text="@string/dummy_custom_cling_error_message"
+ android:gravity="left"
+ android:layout_gravity="bottom|left"
+ />
+</com.android.launcher2.Cling>