Skip to content

Commit 8d41b8c

Browse files
committed
Changed some colors of the example app.
1 parent 6291a25 commit 8d41b8c

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
Copyright 2014 - 2016 Michael Rapp
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
7+
compliance with the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software distributed under the License is
12+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13+
implied. See the License for the specific language governing permissions and limitations under the
14+
License.
15+
-->
16+
<resources>
17+
18+
<color name="color_primary">#ffd64937</color>
19+
<color name="color_primary_dark">#ffbb4030</color>
20+
<color name="color_accent">#ffd64937</color>
21+
22+
</resources>

example/src/main/res/values/styles.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ License.
1616
<resources>
1717

1818
<style name="AppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
19-
<item name="colorPrimary">#ffd64937</item>
20-
<item name="colorPrimaryDark">#ffbb4030</item>
21-
<item name="colorAccent">#ffd64937</item>
19+
<item name="colorPrimary">@color/color_primary</item>
20+
<item name="colorPrimaryDark">@color/color_primary_dark</item>
21+
<item name="colorAccent">@color/color_accent</item>
22+
<item name="alertDialogTheme">@style/DialogTheme</item>
23+
</style>
24+
25+
<style name="DialogTheme" parent="@style/Theme.AppCompat.Light.Dialog.Alert">
26+
<item name="colorPrimary">@color/color_primary</item>
27+
<item name="colorPrimaryDark">@color/color_primary_dark</item>
28+
<item name="colorAccent">@color/color_accent</item>
2229
</style>
2330

2431
</resources>

0 commit comments

Comments
 (0)