summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joe Onorato <joeo@android.com> 2010-04-21 13:59:50 -0400
committer Joe Onorato <joeo@android.com> 2010-04-21 14:00:44 -0400
commit52e70b25f8c2f652c27595c8fea0b6cb9f9ed87a (patch)
treebd08683ac759789218e46afe80a02aa3aac88022
parent83512d4dfc06137bc2d9db0cb62644c54f41a771 (diff)
Add title to recent apps dialog.
Bug: 2614279 Change-Id: I45ebcd2e45140901df246db10f756c07864cccb4
-rw-r--r--core/res/res/layout/recent_apps_dialog.xml12
-rw-r--r--core/res/res/values/strings.xml4
2 files changed, 14 insertions, 2 deletions
diff --git a/core/res/res/layout/recent_apps_dialog.xml b/core/res/res/layout/recent_apps_dialog.xml
index 6bacc5869cdf..03340cdfaf34 100644
--- a/core/res/res/layout/recent_apps_dialog.xml
+++ b/core/res/res/layout/recent_apps_dialog.xml
@@ -26,6 +26,15 @@
android:paddingBottom="3dip"
android:orientation="vertical">
+ <!-- Title -->
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ style="?android:attr/windowTitleStyle"
+ android:layout_marginTop="5dip"
+ android:layout_marginBottom="15dip"
+ android:text="@android:string/recent_tasks_title" />
+
<!-- This is only intended to be visible when all buttons (below) are invisible -->
<TextView
android:id="@+id/no_applications_message"
@@ -44,7 +53,8 @@
<LinearLayout
android:layout_width="320dip"
android:layout_height="wrap_content"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ >
<include
layout="@android:layout/recent_apps_icon"
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index 45d7aeae4f4b..a76c70cf0174 100644
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -279,7 +279,9 @@
<!-- Shutdown Confirmation Dialog. When the user chooses to power off the phone, there will be a confirmation dialog. This is the message. -->
<string name="shutdown_confirm">Your phone will shut down.</string>
- <!-- Recent Tasks dialog -->
+ <!-- Recent Tasks dialog: title -->
+ <string name="recent_tasks_title">Recent</string>
+ <!-- Recent Tasks dialog: message when there are no recent applications -->
<string name="no_recent_tasks">No recent applications.</string>
<!-- Title of the Global Actions Dialog -->