diff options
author | Michael Jurka <mikejurka@google.com> | 2010-06-10 17:01:57 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2010-06-28 10:49:34 -0700 |
commit | af44209bfa60da3c7ab49b7f508f9effd316ee41 (patch) | |
tree | ffd1140463008a3effe2a501287c92ea7447161e /res/layout | |
parent | ff68ed0595d73632cca5f95196aa625e60f8aa24 (diff) | |
download | packages_apps_trebuchet-af44209bfa60da3c7ab49b7f508f9effd316ee41.zip packages_apps_trebuchet-af44209bfa60da3c7ab49b7f508f9effd316ee41.tar.gz packages_apps_trebuchet-af44209bfa60da3c7ab49b7f508f9effd316ee41.tar.bz2 |
First cut at new home screen customization for xlarge displays.
- Add new layout for xlarge, removing hotseat, next/prev page, etc.
- Add a "+" button in top right which switches to customization mode
- Add a widget chooser which slides up from bottom of screen
- Initial support for dragging widgets onto home screen
Change-Id: I14e2e013ccceff4066fcb7c4492b4f6bef6595e7
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/widget_item.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/layout/widget_item.xml b/res/layout/widget_item.xml new file mode 100644 index 0000000..c79bd31 --- /dev/null +++ b/res/layout/widget_item.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:background="?android:attr/galleryItemBackground" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="fitXY" + android:focusable="true" /> |