-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes Android 8.1+ translucent Activities to perform as they were bef…
…ore the Android 8 workaround fix (uplift to 1.50.x) (#18039) Uplift of #18029 (squashed) to release
- Loading branch information
1 parent
813aa2a
commit 9a9b3b9
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved. | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
You can obtain one at https://mozilla.org/MPL/2.0/. | ||
--> | ||
|
||
<resources> | ||
<style name="BraveTranslucent" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<item name="android:windowIsTranslucent">true</item> | ||
<item name="android:windowBackground">@color/translucent_activity_background_color</item> | ||
<item name="android:windowContentOverlay">@null</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:backgroundDimEnabled">false</item> | ||
</style> | ||
|
||
<style name="BraveTranslucentMaterial" parent="Theme.MaterialComponents.Light.NoActionBar"> | ||
<item name="android:windowIsTranslucent">true</item> | ||
<item name="android:windowBackground">@color/translucent_activity_background_color</item> | ||
<item name="android:windowContentOverlay">@null</item> | ||
<item name="android:windowNoTitle">true</item> | ||
<item name="android:backgroundDimEnabled">false</item> | ||
</style> | ||
</resources> |