summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-07-08 15:34:52 -0700
committerWinson Chung <winsonc@google.com>2011-07-11 11:38:24 -0700
commit557d6ed50cc6560163440aa134870ef0bb11415b (patch)
tree9abf7ad514d60f696d902a97f937cc356dd47ee6 /res/layout-port
parenta71cb1778dc0c7e76132d21296c58da777183e26 (diff)
downloadandroid_packages_apps_Trebuchet-557d6ed50cc6560163440aa134870ef0bb11415b.tar.gz
android_packages_apps_Trebuchet-557d6ed50cc6560163440aa134870ef0bb11415b.tar.bz2
android_packages_apps_Trebuchet-557d6ed50cc6560163440aa134870ef0bb11415b.zip
Fixing issues with spring loaded adding.
- Delaying until items are added - Showing bg when going into spring loaded mode - Fixing regression where dropping widgets on full page would not trigger a notification - Fixing regression on tablet where pages were no longer being rotated or shown Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/apps_customize_application.xml32
-rw-r--r--res/layout-port/launcher.xml3
2 files changed, 34 insertions, 1 deletions
diff --git a/res/layout-port/apps_customize_application.xml b/res/layout-port/apps_customize_application.xml
new file mode 100644
index 000000000..37b41851f
--- /dev/null
+++ b/res/layout-port/apps_customize_application.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<com.android.launcher2.PagedViewIcon
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+
+ style="@style/WorkspaceIcon.Portrait.AppsCustomize"
+
+ android:id="@+id/application_icon"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+
+ launcher:blurColor="#FF6B8CF0"
+ launcher:outlineColor="#FF8CD2FF"
+
+ android:focusable="true"
+ android:background="@drawable/focusable_view_bg" />
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index db074d758..73051babc 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -29,7 +29,8 @@
android:layout_height="match_parent"
launcher:defaultScreen="2"
launcher:cellCountX="4"
- launcher:cellCountY="4">
+ launcher:cellCountY="4"
+ launcher:pageSpacing="@dimen/workspace_page_spacing">
<include android:id="@+id/cell1" layout="@layout/workspace_screen" />
<include android:id="@+id/cell2" layout="@layout/workspace_screen" />