|
113 | 113 | android:padding="16dp"> |
114 | 114 |
|
115 | 115 | <!-- Background State Section --> |
116 | | - <TextView |
117 | | - android:layout_width="wrap_content" |
| 116 | + <LinearLayout |
| 117 | + android:layout_width="match_parent" |
118 | 118 | android:layout_height="wrap_content" |
119 | | - android:text="@string/detail_bg_state" |
120 | | - android:textStyle="bold" |
121 | | - android:textSize="13sp" |
122 | | - android:textColor="@color/primary" /> |
| 119 | + android:orientation="horizontal" |
| 120 | + android:gravity="center_vertical"> |
| 121 | + |
| 122 | + <TextView |
| 123 | + android:layout_width="0dp" |
| 124 | + android:layout_height="wrap_content" |
| 125 | + android:layout_weight="1" |
| 126 | + android:text="@string/detail_bg_state" |
| 127 | + android:textStyle="bold" |
| 128 | + android:textSize="13sp" |
| 129 | + android:textColor="@color/primary" /> |
| 130 | + |
| 131 | + <ImageView |
| 132 | + android:id="@+id/btnExpandOps" |
| 133 | + android:layout_width="24dp" |
| 134 | + android:layout_height="24dp" |
| 135 | + android:src="@drawable/ic_expand_more" |
| 136 | + android:background="?attr/selectableItemBackgroundBorderless" |
| 137 | + android:contentDescription="@string/detail_show_more_ops" |
| 138 | + app:tint="@color/on_surface_secondary" /> |
| 139 | + </LinearLayout> |
123 | 140 |
|
124 | 141 | <!-- RUN_IN_BACKGROUND --> |
125 | 142 | <LinearLayout |
|
175 | 192 | android:textSize="10sp" |
176 | 193 | android:fontStyle="italic" /> |
177 | 194 |
|
| 195 | + <!-- Expanded Ops Container --> |
| 196 | + <LinearLayout |
| 197 | + android:id="@+id/expandedOpsContainer" |
| 198 | + android:layout_width="match_parent" |
| 199 | + android:layout_height="wrap_content" |
| 200 | + android:orientation="vertical" |
| 201 | + android:visibility="gone" |
| 202 | + android:layout_marginTop="8dp"> |
| 203 | + |
| 204 | + <!-- WAKE_LOCK --> |
| 205 | + <LinearLayout |
| 206 | + android:layout_width="match_parent" |
| 207 | + android:layout_height="wrap_content" |
| 208 | + android:orientation="horizontal" |
| 209 | + android:paddingVertical="3dp"> |
| 210 | + <TextView |
| 211 | + android:layout_width="0dp" |
| 212 | + android:layout_height="wrap_content" |
| 213 | + android:layout_weight="1" |
| 214 | + android:text="WAKE_LOCK" |
| 215 | + android:textColor="@color/on_surface_secondary" |
| 216 | + android:textSize="11sp" |
| 217 | + android:fontFamily="monospace" /> |
| 218 | + <TextView |
| 219 | + android:id="@+id/tvWakeLock" |
| 220 | + android:layout_width="wrap_content" |
| 221 | + android:layout_height="wrap_content" |
| 222 | + android:textSize="11sp" /> |
| 223 | + </LinearLayout> |
| 224 | + |
| 225 | + <!-- START_FOREGROUND --> |
| 226 | + <LinearLayout |
| 227 | + android:layout_width="match_parent" |
| 228 | + android:layout_height="wrap_content" |
| 229 | + android:orientation="horizontal" |
| 230 | + android:paddingVertical="3dp"> |
| 231 | + <TextView |
| 232 | + android:layout_width="0dp" |
| 233 | + android:layout_height="wrap_content" |
| 234 | + android:layout_weight="1" |
| 235 | + android:text="START_FOREGROUND" |
| 236 | + android:textColor="@color/on_surface_secondary" |
| 237 | + android:textSize="11sp" |
| 238 | + android:fontFamily="monospace" /> |
| 239 | + <TextView |
| 240 | + android:id="@+id/tvStartForeground" |
| 241 | + android:layout_width="wrap_content" |
| 242 | + android:layout_height="wrap_content" |
| 243 | + android:textSize="11sp" /> |
| 244 | + </LinearLayout> |
| 245 | + |
| 246 | + <!-- BOOT_COMPLETED --> |
| 247 | + <LinearLayout |
| 248 | + android:layout_width="match_parent" |
| 249 | + android:layout_height="wrap_content" |
| 250 | + android:orientation="horizontal" |
| 251 | + android:paddingVertical="3dp"> |
| 252 | + <TextView |
| 253 | + android:layout_width="0dp" |
| 254 | + android:layout_height="wrap_content" |
| 255 | + android:layout_weight="1" |
| 256 | + android:text="BOOT_COMPLETED" |
| 257 | + android:textColor="@color/on_surface_secondary" |
| 258 | + android:textSize="11sp" |
| 259 | + android:fontFamily="monospace" /> |
| 260 | + <TextView |
| 261 | + android:id="@+id/tvBootCompleted" |
| 262 | + android:layout_width="wrap_content" |
| 263 | + android:layout_height="wrap_content" |
| 264 | + android:textSize="11sp" /> |
| 265 | + </LinearLayout> |
| 266 | + |
| 267 | + <!-- SYSTEM_ALERT_WINDOW --> |
| 268 | + <LinearLayout |
| 269 | + android:layout_width="match_parent" |
| 270 | + android:layout_height="wrap_content" |
| 271 | + android:orientation="horizontal" |
| 272 | + android:paddingVertical="3dp"> |
| 273 | + <TextView |
| 274 | + android:layout_width="0dp" |
| 275 | + android:layout_height="wrap_content" |
| 276 | + android:layout_weight="1" |
| 277 | + android:text="SYSTEM_ALERT_WINDOW" |
| 278 | + android:textColor="@color/on_surface_secondary" |
| 279 | + android:textSize="11sp" |
| 280 | + android:fontFamily="monospace" /> |
| 281 | + <TextView |
| 282 | + android:id="@+id/tvSystemAlertWindow" |
| 283 | + android:layout_width="wrap_content" |
| 284 | + android:layout_height="wrap_content" |
| 285 | + android:textSize="11sp" /> |
| 286 | + </LinearLayout> |
| 287 | + |
| 288 | + <!-- REQUEST_INSTALL_PACKAGES --> |
| 289 | + <LinearLayout |
| 290 | + android:layout_width="match_parent" |
| 291 | + android:layout_height="wrap_content" |
| 292 | + android:orientation="horizontal" |
| 293 | + android:paddingVertical="3dp"> |
| 294 | + <TextView |
| 295 | + android:layout_width="0dp" |
| 296 | + android:layout_height="wrap_content" |
| 297 | + android:layout_weight="1" |
| 298 | + android:text="REQUEST_INSTALL_PACKAGES" |
| 299 | + android:textColor="@color/on_surface_secondary" |
| 300 | + android:textSize="11sp" |
| 301 | + android:fontFamily="monospace" /> |
| 302 | + <TextView |
| 303 | + android:id="@+id/tvRequestInstall" |
| 304 | + android:layout_width="wrap_content" |
| 305 | + android:layout_height="wrap_content" |
| 306 | + android:textSize="11sp" /> |
| 307 | + </LinearLayout> |
| 308 | + </LinearLayout> |
| 309 | + |
178 | 310 | <View android:layout_width="match_parent" android:layout_height="1dp" |
179 | 311 | android:background="@color/outline" android:layout_marginVertical="12dp" /> |
180 | 312 |
|
|
0 commit comments