|
22 | 22 | android:background="@drawable/recent_dialog_background" |
23 | 23 | android:layout_width="match_parent" |
24 | 24 | android:layout_height="match_parent" |
25 | | - android:paddingTop="3dip" |
26 | | - android:paddingBottom="3dip" |
| 25 | + android:gravity="center" |
| 26 | + android:padding="4dip" |
27 | 27 | android:orientation="vertical"> |
28 | 28 |
|
29 | 29 | <!-- Title --> |
30 | 30 | <TextView |
31 | 31 | 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" |
36 | 38 | android:text="@android:string/recent_tasks_title" /> |
37 | 39 |
|
38 | 40 | <!-- This is only intended to be visible when all buttons (below) are invisible --> |
39 | 41 | <TextView |
40 | 42 | android:id="@+id/no_applications_message" |
41 | 43 | 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" |
45 | 45 | android:gravity="center" |
46 | | - android:textAppearance="?android:attr/textAppearanceMedium" |
| 46 | + android:textAppearance="?android:attr/textAppearanceSmall" |
47 | 47 | android:text="@android:string/no_recent_tasks" /> |
48 | 48 |
|
49 | 49 | <!-- The first row has a fixed-width because the UI spec requires the box |
|
96 | 96 | android:id="@+id/button7" /> |
97 | 97 |
|
98 | 98 | </LinearLayout> |
| 99 | + |
| 100 | + <!-- spacer to balance out the title above --> |
| 101 | + <FrameLayout |
| 102 | + android:layout_height="40dip" |
| 103 | + android:layout_width="match_parent" |
| 104 | + /> |
99 | 105 | </com.android.internal.policy.impl.RecentApplicationsBackground> |
0 commit comments