summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-04-21 11:07:43 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-21 11:07:43 -0700
commit46fba3b9e1bb02aa603ffbb17907f081be0ca873 (patch)
tree6b082ef941111b10126a30a9a643a4fc70b90740 /core/res
parentf021d12f6f7116e9275cd3553a349ce5cb8aab14 (diff)
parent52e70b25f8c2f652c27595c8fea0b6cb9f9ed87a (diff)
downloadframeworks_base-46fba3b9e1bb02aa603ffbb17907f081be0ca873.zip
frameworks_base-46fba3b9e1bb02aa603ffbb17907f081be0ca873.tar.gz
frameworks_base-46fba3b9e1bb02aa603ffbb17907f081be0ca873.tar.bz2
am 52e70b25: Add title to recent apps dialog.
Merge commit '52e70b25f8c2f652c27595c8fea0b6cb9f9ed87a' into froyo-plus-aosp * commit '52e70b25f8c2f652c27595c8fea0b6cb9f9ed87a': Add title to recent apps dialog.
Diffstat (limited to 'core/res')
-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 6bacc58..03340cd 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 45d7aea..a76c70c 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 -->