summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2010-06-30 17:07:39 -0700
committerMichael Jurka <mikejurka@google.com>2010-07-09 11:56:45 -0700
commit0e26059548e429e5d1c973bebe4c561bead2926f (patch)
tree8bc1651ad477ff860082fffd383e971b724ba649 /res/layout
parent1bdb9d346779ff5fa7cb6b9bff512f3caa06a896 (diff)
downloadandroid_packages_apps_Trebuchet-0e26059548e429e5d1c973bebe4c561bead2926f.tar.gz
android_packages_apps_Trebuchet-0e26059548e429e5d1c973bebe4c561bead2926f.tar.bz2
android_packages_apps_Trebuchet-0e26059548e429e5d1c973bebe4c561bead2926f.zip
Improving home screen customization
- Created a drawer with tabs for widgets, folders, shortcuts, wallpapers (wallpapers are currently not implemented) - Tapping outside the drawer dismisses it - Moved the all apps icon to the upper right of the screen - Adding a toast that says "No more space on screen" when dragging a widget to a full screen - Fixed bug where you could stack two equal-sized widgets on top of each other on the homescreen (exposed by the new ability to drag widgets onto the home screen) Change-Id: I03b65ce54a85d24328c94e0c06e249571de449ee
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/home_customization_drawer_item.xml (renamed from res/layout/widget_item.xml)12
1 files changed, 7 insertions, 5 deletions
diff --git a/res/layout/widget_item.xml b/res/layout/home_customization_drawer_item.xml
index c79bd31a9..e3d20a1ea 100644
--- a/res/layout/widget_item.xml
+++ b/res/layout/home_customization_drawer_item.xml
@@ -14,9 +14,11 @@
limitations under the License.
-->
-<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
+<TextView 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" />
+ android:layout_width="200dip"
+ android:layout_height="match_parent"
+ android:padding="20dip"
+ android:orientation="vertical"
+ android:gravity="center_horizontal|center_vertical|clip_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium" /> \ No newline at end of file