summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-04-30 11:30:29 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-30 11:30:29 -0700
commitd47cdbb7ea97a6ed3b428d913fa45883904d0ba8 (patch)
tree0690262170644f97e6d619ff3857a4e5686ae5f6 /core/res
parent27963bbc25278885f57965f6bf8250d6eeabd94a (diff)
parent3bb5e4d322a6a7cda45e868dbe307c2dc3cf688e (diff)
downloadframeworks_base-d47cdbb7ea97a6ed3b428d913fa45883904d0ba8.zip
frameworks_base-d47cdbb7ea97a6ed3b428d913fa45883904d0ba8.tar.gz
frameworks_base-d47cdbb7ea97a6ed3b428d913fa45883904d0ba8.tar.bz2
am 3bb5e4d3: Merge "Tweak style of recent apps dialog title." into froyo
Merge commit '3bb5e4d322a6a7cda45e868dbe307c2dc3cf688e' into froyo-plus-aosp * commit '3bb5e4d322a6a7cda45e868dbe307c2dc3cf688e': Tweak style of recent apps dialog title.
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/layout/recent_apps_dialog.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/core/res/res/layout/recent_apps_dialog.xml b/core/res/res/layout/recent_apps_dialog.xml
index 03340cd..e3492f6 100644
--- a/core/res/res/layout/recent_apps_dialog.xml
+++ b/core/res/res/layout/recent_apps_dialog.xml
@@ -22,28 +22,28 @@
android:background="@drawable/recent_dialog_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingTop="3dip"
- android:paddingBottom="3dip"
+ android:gravity="center"
+ android:padding="4dip"
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:layout_height="40dip"
+ android:gravity="center"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="#80FFFFFF"
+ android:textStyle="bold"
+ android:singleLine="true"
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"
android:layout_width="320dip"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dip"
- android:layout_marginBottom="15dip"
+ android:layout_height="80dip"
android:gravity="center"
- android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textAppearance="?android:attr/textAppearanceSmall"
android:text="@android:string/no_recent_tasks" />
<!-- The first row has a fixed-width because the UI spec requires the box
@@ -96,4 +96,10 @@
android:id="@+id/button7" />
</LinearLayout>
+
+ <!-- spacer to balance out the title above -->
+ <FrameLayout
+ android:layout_height="40dip"
+ android:layout_width="match_parent"
+ />
</com.android.internal.policy.impl.RecentApplicationsBackground>