diff options
| author | 2021-04-06 16:35:35 -0400 | |
|---|---|---|
| committer | 2021-04-06 16:35:35 -0400 | |
| commit | 813d42b58e26d921ca3f7297eb97d69be24c74d6 (patch) | |
| tree | 1d9d10586d01dd13a1169b727e61cd5ad2695bc4 | |
| parent | 54c39c71a97bd52002a38f4a1e7ccd88813d8f60 (diff) | |
Fix status bar icon coloring in long screenshots
Bug: 183613157
Test: Visual verification in dark and light themes
Change-Id: I9d98c4b5ba931a07e79d4a0bd150aade20426483
| -rw-r--r-- | packages/SystemUI/res/values-night/styles.xml | 6 | ||||
| -rw-r--r-- | packages/SystemUI/res/values/styles.xml | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-night/styles.xml b/packages/SystemUI/res/values-night/styles.xml index 4fdeb6fa4a92..cd2395ed7064 100644 --- a/packages/SystemUI/res/values-night/styles.xml +++ b/packages/SystemUI/res/values-night/styles.xml @@ -29,4 +29,10 @@ <item name="android:textColor">?android:attr/textColorPrimary</item> </style> + <!-- Screenshots --> + <style name="LongScreenshotActivity" parent="@android:style/Theme.DeviceDefault.DayNight"> + <item name="android:windowLightStatusBar">false</item> + <item name="android:windowLightNavigationBar">false</item> + </style> + </resources> diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index e6fc332fff8f..d7f44c5213f7 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -622,6 +622,8 @@ <!-- Screenshots --> <style name="LongScreenshotActivity" parent="@android:style/Theme.DeviceDefault.DayNight"> <item name="android:windowNoTitle">true</item> + <item name="android:windowLightStatusBar">true</item> + <item name="android:windowLightNavigationBar">true</item> </style> <!-- Privacy dialog --> |