|
47 | 47 | android:layout_width="match_parent" |
48 | 48 | android:layout_height="wrap_content" |
49 | 49 | android:orientation="horizontal" |
| 50 | + android:layout_weight="0" |
50 | 51 | > |
51 | 52 | <TextView android:id="@+id/title" |
52 | 53 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title" |
|
84 | 85 | android:fadingEdge="horizontal" |
85 | 86 | android:ellipsize="marquee" |
86 | 87 | android:visibility="gone" |
| 88 | + android:layout_weight="0" |
87 | 89 | /> |
88 | 90 | <TextView android:id="@+id/inbox_text0" |
89 | 91 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
90 | 92 | android:layout_width="match_parent" |
91 | | - android:layout_height="wrap_content" |
| 93 | + android:layout_height="0dp" |
92 | 94 | android:singleLine="true" |
93 | 95 | android:ellipsize="end" |
94 | 96 | android:paddingTop="4dp" |
95 | 97 | android:paddingBottom="4dp" |
96 | 98 | android:visibility="gone" |
| 99 | + android:layout_weight="1" |
97 | 100 | /> |
98 | 101 | <TextView android:id="@+id/inbox_text1" |
99 | 102 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
100 | 103 | android:layout_width="match_parent" |
101 | | - android:layout_height="wrap_content" |
| 104 | + android:layout_height="0dp" |
102 | 105 | android:singleLine="true" |
103 | 106 | android:ellipsize="end" |
104 | 107 | android:paddingTop="4dp" |
105 | 108 | android:paddingBottom="4dp" |
106 | 109 | android:visibility="gone" |
| 110 | + android:layout_weight="1" |
107 | 111 | /> |
108 | 112 | <TextView android:id="@+id/inbox_text2" |
109 | 113 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
110 | 114 | android:layout_width="match_parent" |
111 | | - android:layout_height="wrap_content" |
| 115 | + android:layout_height="0dp" |
112 | 116 | android:singleLine="true" |
113 | 117 | android:ellipsize="end" |
114 | 118 | android:paddingTop="4dp" |
115 | 119 | android:paddingBottom="4dp" |
116 | 120 | android:visibility="gone" |
| 121 | + android:layout_weight="1" |
117 | 122 | /> |
118 | 123 | <TextView android:id="@+id/inbox_text3" |
119 | 124 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
120 | 125 | android:layout_width="match_parent" |
121 | | - android:layout_height="wrap_content" |
| 126 | + android:layout_height="0dp" |
122 | 127 | android:singleLine="true" |
123 | 128 | android:ellipsize="end" |
124 | 129 | android:paddingTop="4dp" |
125 | 130 | android:paddingBottom="4dp" |
126 | 131 | android:visibility="gone" |
| 132 | + android:layout_weight="1" |
127 | 133 | /> |
128 | 134 | <TextView android:id="@+id/inbox_text4" |
129 | 135 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
130 | 136 | android:layout_width="match_parent" |
131 | | - android:layout_height="wrap_content" |
| 137 | + android:layout_height="0dp" |
132 | 138 | android:singleLine="true" |
133 | 139 | android:ellipsize="end" |
134 | 140 | android:paddingTop="4dp" |
135 | 141 | android:paddingBottom="4dp" |
136 | 142 | android:visibility="gone" |
| 143 | + android:layout_weight="1" |
137 | 144 | /> |
138 | 145 | <LinearLayout |
139 | 146 | android:id="@+id/actions" |
140 | 147 | android:layout_width="match_parent" |
141 | 148 | android:layout_height="wrap_content" |
142 | 149 | android:orientation="vertical" |
| 150 | + android:layout_weight="0" |
143 | 151 | android:visibility="gone" |
144 | 152 | > |
145 | 153 | <!-- actions will be added here --> |
|
152 | 160 | android:ellipsize="marquee" |
153 | 161 | android:fadingEdge="horizontal" |
154 | 162 | android:visibility="gone" |
155 | | - android:layout_weight="1" |
| 163 | + android:layout_weight="0" |
156 | 164 | /> |
157 | 165 | <LinearLayout |
158 | 166 | android:id="@+id/line3" |
159 | 167 | android:layout_width="match_parent" |
160 | 168 | android:layout_height="wrap_content" |
161 | 169 | android:orientation="horizontal" |
| 170 | + android:layout_weight="0" |
162 | 171 | > |
163 | 172 | <TextView android:id="@+id/text" |
164 | 173 | android:textAppearance="@style/TextAppearance.StatusBar.EventContent" |
|
196 | 205 | android:layout_width="match_parent" |
197 | 206 | android:layout_height="wrap_content" |
198 | 207 | android:visibility="gone" |
| 208 | + android:layout_weight="0" |
199 | 209 | style="?android:attr/progressBarStyleHorizontal" |
200 | 210 | /> |
201 | 211 | </LinearLayout> |
|
0 commit comments