Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 917 day night theme #1891

Merged
merged 31 commits into from
Jul 6, 2022
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
53de0a2
Switched to use Material Design Theme.| #1870
DenBond7 Jun 24, 2022
a22a086
Refactored code.| #1870
DenBond7 Jun 24, 2022
991027d
Fixed appBarLayout color.| #1870
DenBond7 Jun 25, 2022
cbdf80d
Added some style changes. Refactored code.| #1870
DenBond7 Jun 25, 2022
3de3ab3
Modified FloatingActionButton style.| #1870
DenBond7 Jun 25, 2022
fbcfe5c
Modified buttons style.| #1870
DenBond7 Jun 27, 2022
bb674db
Fixed toolbar size.| #1870
DenBond7 Jun 27, 2022
83aee15
Fixed some UI.| #1870
DenBond7 Jun 27, 2022
c25d5b4
Fixed NavigationView style.| #1870
DenBond7 Jun 27, 2022
fa474e5
Set Theme.Material3.Light as a default theme.| #1870
DenBond7 Jun 27, 2022
ff70320
Fixed nav header style.| #1870
DenBond7 Jun 27, 2022
92bd6b4
Fixed progress bar style.| #1870
DenBond7 Jun 27, 2022
3ed7749
Fixed fragment_create_message.| #1870
DenBond7 Jun 28, 2022
bb4a237
Fixed the last commit.| #1870
DenBond7 Jun 28, 2022
87b6bf0
Removed unused resources.| #1870
DenBond7 Jun 28, 2022
d5b28dc
Switched to use Theme.Material3.DayNight. Fixed use the dark theme in…
DenBond7 Jun 28, 2022
2d824cf
Fixed issue with some buttons background.| #1870
DenBond7 Jun 28, 2022
de23b27
Merge remote-tracking branch 'origin/issue_1870_migrate_to_material_d…
DenBond7 Jun 29, 2022
6084e5b
Fixed DayNight for WebView. Added WebViewExt.kt| #917
DenBond7 Jun 29, 2022
cf14183
Added using colorSurface for some views.| #917
DenBond7 Jun 29, 2022
2ff1b68
Merge branch 'master' into issue_917_day_night_theme
DenBond7 Jul 4, 2022
78fdde7
Fixed issues after merge.| #917
DenBond7 Jul 4, 2022
311bf70
Fixed UI for some views.| #917
DenBond7 Jul 4, 2022
d95d420
Merge branch 'master' into issue_917_day_night_theme
DenBond7 Jul 5, 2022
ff16ee1
Fixed UI for some views. Step 2.| #917
DenBond7 Jul 5, 2022
10a9d2b
Fixed UI for some views. Step 3.| #917
DenBond7 Jul 5, 2022
d081210
Removed redundant code.| #917
DenBond7 Jul 5, 2022
a55be06
Refactored code.| #917
DenBond7 Jul 5, 2022
18c35e4
Fixed a background color in EmailWebView.| #917
DenBond7 Jul 5, 2022
fa0091d
Removed unused resources.| #917
DenBond7 Jul 5, 2022
761db1b
Removed unused comments.| #917
DenBond7 Jul 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed appBarLayout color.| #1870
DenBond7 committed Jun 25, 2022
commit 991027d45c141ef5d03ac3d813044bea62e26dc5
4 changes: 4 additions & 0 deletions FlowCrypt/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@
<item name="android:textAllCaps">true</item>
</style>

<style name="AppWidget.AppBarLayout" parent="Widget.Material3.AppBarLayout">
<item name="android:background">?attr/colorPrimary</item>
</style>

<style name="AppWidget.Toolbar" parent="Widget.Material3.Toolbar">
<item name="titleTextAppearance">@style/AppTextAppearance.Toolbar.Title</item>
<item name="materialThemeOverlay">@style/ThemeOverlay.App.Toolbar</item>
1 change: 1 addition & 0 deletions FlowCrypt/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
<!-- Widget styles. -->
<item name="materialButtonStyle">@style/AppWidget.Button</item>
<item name="tabStyle">@style/AppWidget.TabLayout</item>
<item name="appBarLayoutStyle">@style/AppWidget.AppBarLayout</item>
<item name="toolbarStyle">@style/AppWidget.Toolbar</item>

<!-- Action Bars. -->