From d20927410c973c98360afe3b9b174af0a8af2175 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 17 Jun 2009 10:40:29 -0700 Subject: [PATCH] Fixes #1414069. Display recent activities with two lines of text. --- core/res/res/layout/recent_apps_dialog.xml | 112 ++++++++++----------- core/res/res/layout/recent_apps_icon.xml | 41 ++++---- 2 files changed, 72 insertions(+), 81 deletions(-) diff --git a/core/res/res/layout/recent_apps_dialog.xml b/core/res/res/layout/recent_apps_dialog.xml index 852b2f17ea1df..c4ee95d0a82a0 100644 --- a/core/res/res/layout/recent_apps_dialog.xml +++ b/core/res/res/layout/recent_apps_dialog.xml @@ -17,67 +17,63 @@ */ --> - - + android:layout_height="wrap_content" + android:padding="3dip" + android:orientation="vertical"> + + + + + + + + + + + + + + + + - - - - - - - + android:orientation="horizontal" > + + + + + + - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/core/res/res/layout/recent_apps_icon.xml b/core/res/res/layout/recent_apps_icon.xml index b8cf089646972..d32643cb15ddf 100644 --- a/core/res/res/layout/recent_apps_icon.xml +++ b/core/res/res/layout/recent_apps_icon.xml @@ -18,27 +18,22 @@ --> - - - - - + android:background="@drawable/btn_application_selector" + android:layout_width="87dip" + android:layout_height="88dip" + android:layout_margin="3dip" + android:textColor="@color/primary_text_dark_focused" + + android:paddingTop="5dip" + android:paddingBottom="2dip" + android:drawablePadding="0dip" + + android:textSize="13dip" + android:maxLines="2" + android:ellipsize="marquee" + android:fadingEdge="horizontal" + android:gravity="top|center_horizontal" />