Tweak style of recent apps dialog title.

Lovingly hand-crafted to UX's specification.

Bug: 2614279
Change-Id: I14a50e80ed4d97e5d14c7a94586380a27c845263
This commit is contained in:
Daniel Sandler
2010-04-30 13:36:13 -04:00
parent b40c42f1ff
commit e6f134ae63

View File

@@ -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>