| author | Da Risk <da_risk@geekorum.com> |
| Fri, 21 Jun 2019 10:44:01 -0700 | |
| changeset 288 | b3c817fbe3e3 |
| parent 287 | 8ab00e80832e |
| child 289 | d8b8d9dcc816 |
| permissions | -rw-r--r-- |
| 0 | 1 |
<!-- |
2 |
||
3 |
Geekttrss is a RSS feed reader application on the Android Platform. |
|
4 |
||
|
137
5464f07a306c
Update copyright headers for 2019
Da Risk <da_risk@geekorum.com>
parents:
119
diff
changeset
|
5 |
Copyright (C) 2017-2019 by Frederic-Charles Barthelery. |
| 0 | 6 |
|
7 |
This file is part of Geekttrss. |
|
8 |
||
9 |
Geekttrss is free software: you can redistribute it and/or modify |
|
10 |
it under the terms of the GNU General Public License as published by |
|
11 |
the Free Software Foundation, either version 3 of the License, or |
|
12 |
(at your option) any later version. |
|
13 |
||
14 |
Geekttrss is distributed in the hope that it will be useful, |
|
15 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17 |
GNU General Public License for more details. |
|
18 |
||
19 |
You should have received a copy of the GNU General Public License |
|
20 |
along with Geekttrss. If not, see <http://www.gnu.org/licenses/>. |
|
21 |
||
22 |
--> |
|
23 |
<resources xmlns:android="http://schemas.android.com/apk/res/android"> |
|
24 |
||
|
286
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
25 |
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> |
| 0 | 26 |
<!-- use the material Blue Grey palette --> |
27 |
<item name="colorPrimary">@color/primary</item> |
|
|
106
32c316ebc53b
Update MaterialComponents and theme attributes
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
28 |
<item name="colorPrimaryDark">@color/primary_dark</item> |
|
32c316ebc53b
Update MaterialComponents and theme attributes
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
29 |
<item name="colorPrimaryVariant">@color/primary_dark</item> |
|
32c316ebc53b
Update MaterialComponents and theme attributes
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
30 |
<item name="colorSecondary">@color/secondary</item> |
|
32c316ebc53b
Update MaterialComponents and theme attributes
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
31 |
<item name="colorSecondaryVariant">@color/secondary_dark</item> |
|
32c316ebc53b
Update MaterialComponents and theme attributes
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
32 |
<item name="colorOnSecondary">@android:color/white</item> |
|
286
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
33 |
|
| 0 | 34 |
<!-- used to configure style on the content webview --> |
35 |
<item name="articleBackground">?android:colorBackground</item> |
|
36 |
<!-- must be a color, not a drawable --> |
|
37 |
<item name="articleTextColor">@color/article_text_color</item> |
|
38 |
<item name="linkColor">?android:textColorLink</item> |
|
|
119
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
39 |
<item name="bottomAppBarStyle">@style/BottomAppBarStyle</item> |
|
282
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
40 |
<item name="materialAlertDialogTheme">@style/ThemeOverlay.AppTheme.AlertDialog</item> |
|
288
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
41 |
<item name="appBarToolbarStyle">@style/AppBar.Toolbar.DayNight</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
42 |
<item name="appBarCollapsingToolbarStyle">@style/AppBar.CollapsingToolbar.DayNight</item> |
| 0 | 43 |
</style> |
44 |
||
45 |
<style name="AppTheme.NoActionBar"> |
|
46 |
<item name="windowActionBar">false</item> |
|
47 |
<item name="windowNoTitle">true</item> |
|
48 |
</style> |
|
49 |
||
50 |
<style name="ThemeOverlay.AppTheme.DayNight" parent="@style/ThemeOverlay.MaterialComponents.Light"/> |
|
51 |
<style name="ThemeOverlay.AppTheme.DayNight.Inverse" parent="@style/ThemeOverlay.MaterialComponents.Dark" /> |
|
52 |
||
53 |
<style name="AppTheme.ArticleListActivity" parent="AppTheme.NoActionBar"> |
|
54 |
<item name="android:statusBarColor">@android:color/transparent</item> |
|
|
281
eb0d5ccfba45
Themes: use colorBackground as a navigationBarColor and statusBarColor
Da Risk <da_risk@geekorum.com>
parents:
241
diff
changeset
|
55 |
<item name="android:navigationBarColor">?android:colorBackground</item> |
| 0 | 56 |
</style> |
57 |
||
58 |
<style name="AppTheme.ArticleDetailActivity" parent="AppTheme.NoActionBar"> |
|
|
281
eb0d5ccfba45
Themes: use colorBackground as a navigationBarColor and statusBarColor
Da Risk <da_risk@geekorum.com>
parents:
241
diff
changeset
|
59 |
<item name="android:navigationBarColor">?android:colorBackground</item> |
| 0 | 60 |
</style> |
61 |
||
|
287
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
62 |
<style name="AppTheme.AddFeedActivity" parent="@style/Theme.MaterialComponents.DayNight.BottomSheetDialog"> |
| 0 | 63 |
<!-- use the material Blue Grey palette --> |
64 |
<item name="colorPrimary">@color/primary</item> |
|
|
286
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
65 |
<item name="colorPrimaryDark">@color/primary_dark</item> |
|
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
66 |
<item name="colorPrimaryVariant">@color/primary_dark</item> |
|
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
67 |
<item name="colorSecondary">@color/secondary</item> |
|
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
68 |
<item name="colorSecondaryVariant">@color/secondary_dark</item> |
|
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
69 |
<item name="colorOnSecondary">@android:color/white</item> |
|
287
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
70 |
|
|
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
71 |
<!-- needed for a BottomDialogActivity --> |
|
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
72 |
<item name="windowNoTitle">true</item> |
|
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
73 |
<item name="android:windowDrawsSystemBarBackgrounds">true</item> |
|
8ab00e80832e
theme: use Material DayNight bottomsheetdialog theme
Da Risk <da_risk@geekorum.com>
parents:
286
diff
changeset
|
74 |
<item name="android:windowTranslucentStatus">false</item> |
| 0 | 75 |
</style> |
76 |
||
|
288
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
77 |
<!-- Theme overlays --> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
78 |
|
| 0 | 79 |
<style name="ThemeOverlay.AppTheme.AddFeedActivity.AccountsPanel" parent="ThemeOverlay.AppTheme.DayNight"> |
|
286
d715b0dd590e
theme: Use MaterialComponents.DayNight as parent theme
Da Risk <da_risk@geekorum.com>
parents:
282
diff
changeset
|
80 |
<item name="android:colorBackground">@color/background_add_feed_accounts_spinner</item> |
| 0 | 81 |
</style> |
82 |
||
83 |
<style name="ThemeOverlay.AppTheme.TranslucentButton" parent="ThemeOverlay.AppTheme.DayNight"> |
|
84 |
<item name="colorButtonNormal">@android:color/transparent</item> |
|
85 |
</style> |
|
86 |
||
|
107
3fa8423d4de4
LoginActivity: Add fields for http authentication
Da Risk <da_risk@geekorum.com>
parents:
106
diff
changeset
|
87 |
<style name="ThemeOverlay.AppTheme.LoginForm" parent="ThemeOverlay.AppTheme.DayNight"> |
|
3fa8423d4de4
LoginActivity: Add fields for http authentication
Da Risk <da_risk@geekorum.com>
parents:
106
diff
changeset
|
88 |
<item name="textInputStyle">@style/LoginForm.TextInputStyle</item> |
|
3fa8423d4de4
LoginActivity: Add fields for http authentication
Da Risk <da_risk@geekorum.com>
parents:
106
diff
changeset
|
89 |
</style> |
|
3fa8423d4de4
LoginActivity: Add fields for http authentication
Da Risk <da_risk@geekorum.com>
parents:
106
diff
changeset
|
90 |
|
|
282
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
91 |
<style name="ThemeOverlay.AppTheme.AlertDialog" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog"> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
92 |
<item name="materialAlertDialogTitleTextStyle">@style/AlertDialogTitleTextStyle</item> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
93 |
</style> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
94 |
|
|
288
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
95 |
<!-- Widget styles --> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
96 |
|
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
97 |
<style name="LoginForm.TextInputStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox"> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
98 |
<item name="errorEnabled">true</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
99 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
100 |
|
|
282
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
101 |
<style name="AlertDialogTitleTextStyle" parent="MaterialAlertDialog.MaterialComponents.Title.Text"> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
102 |
<item name="android:textAppearance">?attr/textAppearanceHeadline6</item> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
103 |
</style> |
|
ebf52a5b5d5f
CoreComponents: add a BaseDialogFragment and a theme for material alert dialogs
Da Risk <da_risk@geekorum.com>
parents:
281
diff
changeset
|
104 |
|
|
119
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
105 |
<style name="BottomAppBarStyle" parent="Widget.MaterialComponents.BottomAppBar"> |
|
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
106 |
<item name="fabCradleMargin">8dp</item> |
|
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
107 |
<item name="fabCradleRoundedCornerRadius">32dp</item> |
|
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
108 |
</style> |
|
ca2d02616860
ActivityArticleDetails: tweak the app bar appearance
Da Risk <da_risk@geekorum.com>
parents:
111
diff
changeset
|
109 |
|
|
288
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
110 |
<style name="AppBar.Toolbar.DayNight" parent="Widget.MaterialComponents.Toolbar.Primary"/> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
111 |
|
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
112 |
<style name="AppBar.CollapsingToolbar.DayNight" parent=""> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
113 |
<item name="expandedTitleTextAppearance">@style/TextAppearance.AppTheme.CollapsingToolbar.Expanded.Primary</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
114 |
<item name="collapsedTitleTextAppearance">@style/TextAppearance.AppTheme.CollapsingToolbar.Collapsed.Primary</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
115 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
116 |
|
|
111
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
117 |
<style name="HeadlineCardFooterButton"> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
118 |
<item name="android:layout_width">48dp</item> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
119 |
<item name="android:layout_height">48dp</item> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
120 |
<item name="android:clickable">true</item> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
121 |
<item name="android:focusable">true</item> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
122 |
<item name="android:padding">12dp</item> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
123 |
</style> |
|
2b64a463684c
Rework layout of headline cards
Da Risk <da_risk@geekorum.com>
parents:
108
diff
changeset
|
124 |
|
|
288
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
125 |
<!-- Text appearances --> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
126 |
<style name="TextAppearance.AppTheme.CollapsingToolbar.Expanded.Primary" parent="TextAppearance.Design.CollapsingToolbar.Expanded"> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
127 |
<item name="android:textColor">?colorOnPrimary</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
128 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
129 |
|
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
130 |
<style name="TextAppearance.AppTheme.CollapsingToolbar.Collapsed.Primary" parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
131 |
<item name="android:textColor">?colorOnPrimary</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
132 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
133 |
|
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
134 |
<style name="TextAppearance.AppTheme.CollapsingToolbar.Expanded.Surface" parent="TextAppearance.Design.CollapsingToolbar.Expanded"> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
135 |
<item name="android:textColor">@color/mtrl_on_surface_emphasis_high_type</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
136 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
137 |
|
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
138 |
<style name="TextAppearance.AppTheme.CollapsingToolbar.Collapsed.Surface" parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
139 |
<item name="android:textColor">@color/mtrl_on_surface_emphasis_high_type</item> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
140 |
</style> |
|
b3c817fbe3e3
Use MaterialToolbar instead of Toolbar everywhere
Da Risk <da_risk@geekorum.com>
parents:
287
diff
changeset
|
141 |
|
|
241
7db39d5aebb8
ManageFeedsActivity: style the activity
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
142 |
<!-- defined in feature modules --> |
|
7db39d5aebb8
ManageFeedsActivity: style the activity
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
143 |
<style name="AppTheme.ManageFeedsActivity" /> |
|
7db39d5aebb8
ManageFeedsActivity: style the activity
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
144 |
|
| 0 | 145 |
</resources> |