Skip to content

Commit 3bb5e4d

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Tweak style of recent apps dialog title." into froyo
2 parents cd8f7bd + e6f134a commit 3bb5e4d

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

core/res/res/layout/recent_apps_dialog.xml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,28 @@
2222
android:background="@drawable/recent_dialog_background"
2323
android:layout_width="match_parent"
2424
android:layout_height="match_parent"
25-
android:paddingTop="3dip"
26-
android:paddingBottom="3dip"
25+
android:gravity="center"
26+
android:padding="4dip"
2727
android:orientation="vertical">
2828

2929
<!-- Title -->
3030
<TextView
3131
android:layout_width="wrap_content"
32-
android:layout_height="wrap_content"
33-
style="?android:attr/windowTitleStyle"
34-
android:layout_marginTop="5dip"
35-
android:layout_marginBottom="15dip"
32+
android:layout_height="40dip"
33+
android:gravity="center"
34+
android:textAppearance="?android:attr/textAppearanceSmall"
35+
android:textColor="#80FFFFFF"
36+
android:textStyle="bold"
37+
android:singleLine="true"
3638
android:text="@android:string/recent_tasks_title" />
3739

3840
<!-- This is only intended to be visible when all buttons (below) are invisible -->
3941
<TextView
4042
android:id="@+id/no_applications_message"
4143
android:layout_width="320dip"
42-
android:layout_height="wrap_content"
43-
android:layout_marginTop="15dip"
44-
android:layout_marginBottom="15dip"
44+
android:layout_height="80dip"
4545
android:gravity="center"
46-
android:textAppearance="?android:attr/textAppearanceMedium"
46+
android:textAppearance="?android:attr/textAppearanceSmall"
4747
android:text="@android:string/no_recent_tasks" />
4848

4949
<!-- The first row has a fixed-width because the UI spec requires the box
@@ -96,4 +96,10 @@
9696
android:id="@+id/button7" />
9797

9898
</LinearLayout>
99+
100+
<!-- spacer to balance out the title above -->
101+
<FrameLayout
102+
android:layout_height="40dip"
103+
android:layout_width="match_parent"
104+
/>
99105
</com.android.internal.policy.impl.RecentApplicationsBackground>

0 commit comments

Comments
 (0)