|
33 | 33 | android:layout_height="wrap_content" |
34 | 34 | android:layout_gravity="fill_vertical" |
35 | 35 | android:layout_marginLeft="@dimen/notification_large_icon_width" |
36 | | - android:minHeight="@dimen/notification_large_icon_height" |
37 | 36 | android:orientation="vertical" |
38 | 37 | android:paddingLeft="12dp" |
39 | 38 | android:paddingRight="12dp" |
|
42 | 41 | android:gravity="center_vertical" |
43 | 42 | > |
44 | 43 | <LinearLayout |
45 | | - android:id="@+id/line1" |
46 | 44 | android:layout_width="match_parent" |
47 | 45 | android:layout_height="wrap_content" |
48 | | - android:orientation="horizontal" |
49 | | - > |
50 | | - <TextView android:id="@+id/title" |
51 | | - android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title" |
| 46 | + android:minHeight="@dimen/notification_large_icon_height" |
| 47 | + android:orientation="vertical" |
| 48 | + > |
| 49 | + <LinearLayout |
| 50 | + android:id="@+id/line1" |
| 51 | + android:layout_width="match_parent" |
| 52 | + android:layout_height="wrap_content" |
| 53 | + android:orientation="horizontal" |
| 54 | + > |
| 55 | + <TextView android:id="@+id/title" |
| 56 | + android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title" |
| 57 | + android:layout_width="match_parent" |
| 58 | + android:layout_height="wrap_content" |
| 59 | + android:singleLine="true" |
| 60 | + android:ellipsize="marquee" |
| 61 | + android:fadingEdge="horizontal" |
| 62 | + android:layout_weight="1" |
| 63 | + /> |
| 64 | + <ViewStub android:id="@+id/time" |
| 65 | + android:layout_width="wrap_content" |
| 66 | + android:layout_height="wrap_content" |
| 67 | + android:layout_gravity="center" |
| 68 | + android:layout_weight="0" |
| 69 | + android:visibility="gone" |
| 70 | + android:layout="@layout/notification_template_part_time" |
| 71 | + /> |
| 72 | + <ViewStub android:id="@+id/chronometer" |
| 73 | + android:layout_width="wrap_content" |
| 74 | + android:layout_height="wrap_content" |
| 75 | + android:layout_gravity="center" |
| 76 | + android:layout_weight="0" |
| 77 | + android:visibility="gone" |
| 78 | + android:layout="@layout/notification_template_part_chronometer" |
| 79 | + /> |
| 80 | + </LinearLayout> |
| 81 | + <TextView android:id="@+id/text2" |
| 82 | + android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Line2" |
52 | 83 | android:layout_width="match_parent" |
53 | 84 | android:layout_height="wrap_content" |
| 85 | + android:layout_marginTop="-2dp" |
| 86 | + android:layout_marginBottom="-2dp" |
54 | 87 | android:singleLine="true" |
55 | | - android:ellipsize="marquee" |
56 | 88 | android:fadingEdge="horizontal" |
57 | | - android:layout_weight="1" |
58 | | - /> |
59 | | - <ViewStub android:id="@+id/time" |
60 | | - android:layout_width="wrap_content" |
61 | | - android:layout_height="wrap_content" |
62 | | - android:layout_gravity="center" |
63 | | - android:layout_weight="0" |
| 89 | + android:ellipsize="marquee" |
64 | 90 | android:visibility="gone" |
65 | | - android:layout="@layout/notification_template_part_time" |
66 | 91 | /> |
67 | | - <ViewStub android:id="@+id/chronometer" |
68 | | - android:layout_width="wrap_content" |
| 92 | + <TextView android:id="@+id/big_text" |
| 93 | + android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
| 94 | + android:layout_width="match_parent" |
69 | 95 | android:layout_height="wrap_content" |
70 | | - android:layout_gravity="center" |
71 | | - android:layout_weight="0" |
| 96 | + android:layout_marginTop="2dp" |
| 97 | + android:layout_marginBottom="2dp" |
| 98 | + android:singleLine="false" |
72 | 99 | android:visibility="gone" |
73 | | - android:layout="@layout/notification_template_part_chronometer" |
74 | 100 | /> |
75 | 101 | </LinearLayout> |
76 | | - <TextView android:id="@+id/text2" |
77 | | - android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Line2" |
78 | | - android:layout_width="match_parent" |
79 | | - android:layout_height="wrap_content" |
80 | | - android:layout_marginTop="-2dp" |
81 | | - android:layout_marginBottom="-2dp" |
82 | | - android:singleLine="true" |
83 | | - android:fadingEdge="horizontal" |
84 | | - android:ellipsize="marquee" |
85 | | - android:visibility="gone" |
86 | | - /> |
87 | | - <TextView android:id="@+id/big_text" |
88 | | - android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
| 102 | + <LinearLayout |
| 103 | + android:id="@+id/actions" |
89 | 104 | android:layout_width="match_parent" |
90 | 105 | android:layout_height="wrap_content" |
91 | | - android:singleLine="false" |
| 106 | + android:orientation="vertical" |
92 | 107 | android:visibility="gone" |
93 | | - /> |
| 108 | + > |
| 109 | + <!-- actions will be added here --> |
| 110 | + </LinearLayout> |
94 | 111 | <LinearLayout |
95 | 112 | android:id="@+id/line3" |
96 | 113 | android:layout_width="match_parent" |
|
135 | 152 | android:visibility="gone" |
136 | 153 | style="?android:attr/progressBarStyleHorizontal" |
137 | 154 | /> |
138 | | - <LinearLayout |
139 | | - android:id="@+id/actions" |
140 | | - android:layout_width="match_parent" |
141 | | - android:layout_height="wrap_content" |
142 | | - android:visibility="gone" |
143 | | - > |
144 | | - <!-- actions will be added here --> |
145 | | - </LinearLayout> |
146 | 155 | </LinearLayout> |
147 | 156 | </FrameLayout> |
0 commit comments