|
23 | 23 | android:layout_height="wrap_content" |
24 | 24 | android:layout_width="wrap_content"> |
25 | 25 |
|
26 | | - <FrameLayout android:id="@+id/app_thumbnail" |
27 | | - android:layout_width="wrap_content" |
| 26 | + <TextView android:id="@+id/app_label" |
| 27 | + android:layout_width="@dimen/status_bar_recents_app_label_width" |
28 | 28 | android:layout_height="wrap_content" |
| 29 | + android:textSize="@dimen/status_bar_recents_app_label_text_size" |
| 30 | + android:fadingEdge="horizontal" |
| 31 | + android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" |
| 32 | + android:scrollHorizontally="true" |
29 | 33 | android:layout_alignParentLeft="true" |
30 | 34 | android:layout_alignParentTop="true" |
| 35 | + android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" |
| 36 | + android:layout_marginTop="32dip" |
| 37 | + android:singleLine="true" |
| 38 | + android:ellipsize="marquee" |
| 39 | + android:textColor="@color/status_bar_recents_app_label_color" |
| 40 | + /> |
| 41 | + |
| 42 | + <FrameLayout android:id="@+id/app_thumbnail" |
| 43 | + android:layout_width="wrap_content" |
| 44 | + android:layout_height="wrap_content" |
| 45 | + android:layout_toRightOf="@id/app_label" |
31 | 46 | android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" |
32 | 47 | android:scaleType="center" |
33 | 48 | android:background="@drawable/recents_thumbnail_bg" |
|
37 | 52 | android:layout_width="@dimen/status_bar_recents_thumbnail_width" |
38 | 53 | android:layout_height="@dimen/status_bar_recents_thumbnail_height" |
39 | 54 | /> |
40 | | - <ImageView android:id="@+id/app_icon" |
41 | | - android:layout_width="wrap_content" |
42 | | - android:layout_height="wrap_content" |
43 | | - android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" |
44 | | - android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" |
45 | | - android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" |
46 | | - android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" |
47 | | - android:adjustViewBounds="true" |
48 | | - /> |
49 | 55 | </FrameLayout> |
50 | 56 |
|
51 | | - <TextView android:id="@+id/app_label" |
52 | | - android:layout_width="@dimen/status_bar_recents_app_label_width" |
| 57 | + |
| 58 | + <ImageView android:id="@+id/app_icon" |
| 59 | + android:layout_width="wrap_content" |
53 | 60 | android:layout_height="wrap_content" |
54 | | - android:textSize="@dimen/status_bar_recents_app_label_text_size" |
55 | | - android:fadingEdge="horizontal" |
56 | | - android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" |
57 | | - android:scrollHorizontally="true" |
58 | | - android:layout_alignParentLeft="true" |
59 | | - android:layout_alignParentTop="true" |
60 | | - android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" |
61 | | - android:layout_marginTop="32dip" |
62 | | - android:singleLine="true" |
63 | | - android:ellipsize="marquee" |
64 | | - android:textColor="@color/status_bar_recents_app_label_color" |
| 61 | + android:layout_toRightOf="@id/app_label" |
| 62 | + android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" |
| 63 | + android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" |
| 64 | + android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" |
| 65 | + android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" |
| 66 | + android:scaleType="centerInside" |
| 67 | + android:adjustViewBounds="true" |
65 | 68 | /> |
66 | 69 |
|
| 70 | + |
67 | 71 | <View android:id="@+id/recents_callout_line" |
68 | 72 | android:layout_width="@dimen/status_bar_recents_app_label_width" |
69 | 73 | android:layout_height="1dip" |
|
0 commit comments