diff options
author | Winson Chung <winsonc@google.com> | 2011-06-19 12:41:22 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-06-22 17:26:02 -0700 |
commit | 4b825dcd5f64a5ebb60271844fbc5257374422bc (patch) | |
tree | bc3889079d484952e71bce46f3c47e78d8f40282 /res/layout | |
parent | 547eeb3b3e99b79fdab3b74d4e536dc014d0fb0e (diff) | |
download | android_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.tar.gz android_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.tar.bz2 android_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.zip |
Tweaking launcher grid and spacing.
Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/apps_customize_application.xml | 2 | ||||
-rw-r--r-- | res/layout/user_folder.xml | 12 | ||||
-rw-r--r-- | res/layout/workspace_screen.xml | 33 |
3 files changed, 40 insertions, 7 deletions
diff --git a/res/layout/apps_customize_application.xml b/res/layout/apps_customize_application.xml index 4f3632632..37a8df7ee 100644 --- a/res/layout/apps_customize_application.xml +++ b/res/layout/apps_customize_application.xml @@ -18,7 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" - style="@style/WorkspaceIcon.AllApps" + style="@style/WorkspaceIcon.AppsCustomize" android:id="@+id/application_icon" android:layout_width="match_parent" diff --git a/res/layout/user_folder.xml b/res/layout/user_folder.xml index 06d79ef70..299095d11 100644 --- a/res/layout/user_folder.xml +++ b/res/layout/user_folder.xml @@ -30,16 +30,16 @@ android:id="@+id/folder_content" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingLeft="0dip" + android:paddingRight="0dip" + android:paddingTop="8dip" + android:paddingBottom="8dip" android:cacheColorHint="#ff333333" android:hapticFeedbackEnabled="false" launcher:widthGap="@dimen/folder_width_gap" launcher:heightGap="@dimen/folder_height_gap" launcher:cellWidth="@dimen/workspace_cell_width" - launcher:cellHeight="@dimen/workspace_cell_height" - launcher:xAxisStartPadding="0dip" - launcher:xAxisEndPadding="0dip" - launcher:yAxisStartPadding="8dip" - launcher:yAxisEndPadding="8dip"/> + launcher:cellHeight="@dimen/workspace_cell_height" /> <EditText android:id="@+id/folder_name" @@ -54,4 +54,4 @@ android:textColor="#FFF" android:gravity="center_horizontal" android:singleLine="true"/> -</com.android.launcher2.Folder>
\ No newline at end of file +</com.android.launcher2.Folder> diff --git a/res/layout/workspace_screen.xml b/res/layout/workspace_screen.xml new file mode 100644 index 000000000..ede0d9907 --- /dev/null +++ b/res/layout/workspace_screen.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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.CellLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" + + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" + android:hapticFeedbackEnabled="false" + + launcher:cellWidth="@dimen/workspace_cell_width" + launcher:cellHeight="@dimen/workspace_cell_height" + launcher:widthGap="-1dp" + launcher:heightGap="-1dp" + launcher:maxGap="@dimen/workspace_max_gap" /> |