diff options
author | Winson Chung <winsonc@google.com> | 2011-07-08 15:34:52 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-07-11 11:38:24 -0700 |
commit | 557d6ed50cc6560163440aa134870ef0bb11415b (patch) | |
tree | 9abf7ad514d60f696d902a97f937cc356dd47ee6 /res/layout | |
parent | a71cb1778dc0c7e76132d21296c58da777183e26 (diff) | |
download | android_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')
-rw-r--r-- | res/layout/apps_customize_application.xml | 32 | ||||
-rw-r--r-- | res/layout/apps_customize_pane.xml | 18 | ||||
-rw-r--r-- | res/layout/tab_widget_indicator.xml | 2 |
3 files changed, 10 insertions, 42 deletions
diff --git a/res/layout/apps_customize_application.xml b/res/layout/apps_customize_application.xml deleted file mode 100644 index 37a8df7ee..000000000 --- a/res/layout/apps_customize_application.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?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.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/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index 00c87cb09..adb0a6d35 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -25,7 +25,7 @@ <FrameLayout android:id="@+id/tabs_container" android:layout_width="wrap_content" - android:layout_height="@dimen/qsb_bar_height" + android:layout_height="@dimen/apps_customize_tab_bar_height" android:layout_gravity="center_horizontal"> <com.android.launcher2.FocusOnlyTabWidget android:id="@android:id/tabs" @@ -64,14 +64,14 @@ android:id="@+id/apps_customize_pane_content" android:layout_width="match_parent" android:layout_height="match_parent" - launcher:cellCountX="@integer/all_apps_view_cellCountX" - launcher:cellCountY="@integer/all_apps_view_cellCountY" - launcher:pageLayoutWidthGap="@dimen/all_apps_view_pageLayoutWidthGap" - launcher:pageLayoutHeightGap="@dimen/all_apps_view_pageLayoutHeightGap" - launcher:pageLayoutPaddingTop="@dimen/all_apps_view_pageLayoutPaddingTop" - launcher:pageLayoutPaddingBottom="@dimen/all_apps_view_pageLayoutPaddingBottom" - launcher:pageLayoutPaddingLeft="@dimen/all_apps_view_pageLayoutPaddingLeft" - launcher:pageLayoutPaddingRight="@dimen/all_apps_view_pageLayoutPaddingRight" + launcher:cellCountX="@integer/apps_customize_cellCountX" + launcher:cellCountY="@integer/apps_customize_cellCountY" + launcher:pageLayoutWidthGap="@dimen/apps_customize_pageLayoutWidthGap" + launcher:pageLayoutHeightGap="@dimen/apps_customize_pageLayoutHeightGap" + launcher:pageLayoutPaddingTop="@dimen/apps_customize_pageLayoutPaddingTop" + launcher:pageLayoutPaddingBottom="@dimen/apps_customize_pageLayoutPaddingBottom" + launcher:pageLayoutPaddingLeft="@dimen/apps_customize_pageLayoutPaddingLeft" + launcher:pageLayoutPaddingRight="@dimen/apps_customize_pageLayoutPaddingRight" launcher:widgetCellWidthGap="@dimen/apps_customize_widget_cell_width_gap" launcher:widgetCellHeightGap="@dimen/apps_customize_widget_cell_height_gap" launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" diff --git a/res/layout/tab_widget_indicator.xml b/res/layout/tab_widget_indicator.xml index b3694febc..df43d3ddd 100644 --- a/res/layout/tab_widget_indicator.xml +++ b/res/layout/tab_widget_indicator.xml @@ -16,4 +16,4 @@ <com.android.launcher2.AccessibleTabView xmlns:android="http://schemas.android.com/apk/res/android" - style="@style/TabIndicator" /> + style="@style/TabIndicator.AppsCustomize" /> |