diff options
author | Adam Cohen <adamcohen@google.com> | 2013-06-11 12:48:00 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2013-06-11 14:57:43 -0700 |
commit | 66a01fd24bde7c94ea892b007df7f79fbaa43d80 (patch) | |
tree | 93e1878f8abd6b9bbc9aaa8dde8c7c73bcb36e5c /res/layout | |
parent | ecf33e4819d0c4b019706edd456ed14a6a0f200c (diff) | |
download | android_packages_apps_Trebuchet-66a01fd24bde7c94ea892b007df7f79fbaa43d80.tar.gz android_packages_apps_Trebuchet-66a01fd24bde7c94ea892b007df7f79fbaa43d80.tar.bz2 android_packages_apps_Trebuchet-66a01fd24bde7c94ea892b007df7f79fbaa43d80.zip |
Add API to launcher to insert a custom page to the left of workspace
Change-Id: I85a4e096aab9bfcb1de74f04075bcabcb7e3262f
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/workspace_custom_content.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/workspace_custom_content.xml b/res/layout/workspace_custom_content.xml new file mode 100644 index 000000000..649768515 --- /dev/null +++ b/res/layout/workspace_custom_content.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.launcher3.CellLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingStart="0dp" + android:paddingEnd="0dp" + android:paddingTop="0dp" + android:paddingBottom="0dp" + android:hapticFeedbackEnabled="false" + + launcher:cellWidth="@dimen/workspace_cell_width" + launcher:cellHeight="@dimen/workspace_cell_height" + launcher:widthGap="@dimen/workspace_width_gap" + launcher:heightGap="@dimen/workspace_height_gap" + launcher:maxGap="@dimen/workspace_max_gap" /> |