diff --git a/Android.bp b/Android.bp index 27c5b2f4e1fbeb691e7c2680e49485f37eb31ab6..0dd40c45217e5df745c2065fe80134284eac6000 100644 --- a/Android.bp +++ b/Android.bp @@ -52,6 +52,7 @@ android_app { "com.android.vcard", "guava", "libphonenumber", + "elib", ], certificate: "shared", diff --git a/res/drawable-anydpi-v26/fab_pink.xml b/res/drawable-anydpi-v26/fab_pink.xml new file mode 100644 index 0000000000000000000000000000000000000000..deea9902974157bd0c23442f6e5a5da8a10c1f15 --- /dev/null +++ b/res/drawable-anydpi-v26/fab_pink.xml @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/res/drawable-hdpi/person_white_540dp.png b/res/drawable-hdpi/ic_person_white_base.png similarity index 100% rename from res/drawable-hdpi/person_white_540dp.png rename to res/drawable-hdpi/ic_person_white_base.png diff --git a/res/drawable-mdpi/person_white_540dp.png b/res/drawable-mdpi/ic_person_white_base.png similarity index 100% rename from res/drawable-mdpi/person_white_540dp.png rename to res/drawable-mdpi/ic_person_white_base.png diff --git a/res/drawable-xhdpi/person_white_540dp.png b/res/drawable-xhdpi/ic_person_white_base.png similarity index 100% rename from res/drawable-xhdpi/person_white_540dp.png rename to res/drawable-xhdpi/ic_person_white_base.png diff --git a/res/drawable-xxhdpi/person_white_540dp.png b/res/drawable-xxhdpi/ic_person_white_base.png similarity index 100% rename from res/drawable-xxhdpi/person_white_540dp.png rename to res/drawable-xxhdpi/ic_person_white_base.png diff --git a/res/drawable-xxxhdpi/person_white_540dp.png b/res/drawable-xxxhdpi/ic_person_white_base.png similarity index 100% rename from res/drawable-xxxhdpi/person_white_540dp.png rename to res/drawable-xxxhdpi/ic_person_white_base.png diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml index fc4823054e0e3af053a38aecf3b95f595ab454d3..f1931a336b52de455c0e91be26e1ceddf98157c3 100644 --- a/res/drawable/ic_launcher_background.xml +++ b/res/drawable/ic_launcher_background.xml @@ -1,20 +1,38 @@ + ~ Copyright (C) 2022 E FOUNDATION + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see . + --> - - + android:pathData="M0,0h108v108h-108z"> + + + + + + + diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml index 686ffa2b53b156a4f10f9ff3c8e061b36ebf17df..e305355101dcc85afb9ccecebaf579c1acd9bd1c 100644 --- a/res/drawable/ic_launcher_foreground.xml +++ b/res/drawable/ic_launcher_foreground.xml @@ -1,36 +1,52 @@ + ~ Copyright (C) 2022 E FOUNDATION + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see . + --> - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/res/drawable/person_white_540dp.xml b/res/drawable/person_white_540dp.xml new file mode 100644 index 0000000000000000000000000000000000000000..479c55cbb915fed9c5fe6833f065f0af5ed6c598 --- /dev/null +++ b/res/drawable/person_white_540dp.xml @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/res/drawable/quantum_ic_drawer_my_info_32.xml b/res/drawable/quantum_ic_drawer_my_info_32.xml index 4e310cb4a1a86f4fc715a6365d83f7ec35cf7845..b0b0f16afef5a854e1c9e64b39c4b83b0fe3323c 100644 --- a/res/drawable/quantum_ic_drawer_my_info_32.xml +++ b/res/drawable/quantum_ic_drawer_my_info_32.xml @@ -5,15 +5,11 @@ android:viewportHeight="32.0"> + android:fillColor="@color/e_accent"/> + android:fillColor="@color/e_background" /> + android:fillColor="@color/e_background" /> diff --git a/res/layout-land/people_activity_toolbar.xml b/res/layout-land/people_activity_toolbar.xml index 15f12f67189c5773114210e09f1d62b684f31a74..eb33d395780322b1ca2a65bf24c4e29f17e8e51e 100644 --- a/res/layout-land/people_activity_toolbar.xml +++ b/res/layout-land/people_activity_toolbar.xml @@ -29,7 +29,7 @@ android:id="@+id/toolbar_frame" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:background="?attr/colorPrimary"> + android:background="@color/actionbar_background_color"> diff --git a/res/layout/people_activity_toolbar.xml b/res/layout/people_activity_toolbar.xml index 4e8ea2f7e139305b78578826ca9544dc8ac6726b..1bc4652dd1a3b6edd47c28528e4061ef23300690 100644 --- a/res/layout/people_activity_toolbar.xml +++ b/res/layout/people_activity_toolbar.xml @@ -25,7 +25,7 @@ android:id="@+id/toolbar_frame" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:background="?attr/colorPrimary"> + android:background="@color/actionbar_background_color"> + android:tint="@color/e_primary_text_color" /> diff --git a/res/layout/selection_bar.xml b/res/layout/selection_bar.xml index 272a2fcf9d6b241c5fa30444190ae2291c00faeb..0d9f8a8ef4ee7fbdd740872e47ee99c482eb3c72 100644 --- a/res/layout/selection_bar.xml +++ b/res/layout/selection_bar.xml @@ -51,7 +51,7 @@ android:paddingEnd="16dp" android:paddingStart="16dp" android:text="@string/menu_add_contacts" - android:textColor="@color/primary_color" + android:textColor="@color/actionbar_text_color" android:textStyle="bold" android:visibility="gone"/> diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml index 3d90bc5c3365d4775bbf1cccb9e699f0f1d06931..900ba3d68546038db0502e24497eb8836350b8e0 100644 --- a/res/mipmap-anydpi/ic_launcher.xml +++ b/res/mipmap-anydpi/ic_launcher.xml @@ -1,9 +1,23 @@ + ~ Copyright (C) 2022 E FOUNDATION + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see . + --> - - - + + + + + \ No newline at end of file diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml index e88ed65b735b8264018d4e9c42451af999fb7d1f..a242b5e9c2bd4997502dc0dbca83e46ed75c21fd 100644 --- a/res/values-night/colors.xml +++ b/res/values-night/colors.xml @@ -5,7 +5,7 @@ --> - #1f1f1f + @color/background_primary #dadada diff --git a/res/values-v27/styles.xml b/res/values-v27/styles.xml index e821cc1570095ac1bc85b2026cc30a0db2bfef1d..0187a5cabcdc155d5323a594dd0fd82bb687a702 100644 --- a/res/values-v27/styles.xml +++ b/res/values-v27/styles.xml @@ -12,8 +12,8 @@ @style/ListViewStyle @color/background_primary @color/primary_color_dark - @color/primary_color - @color/primary_color + @color/e_accent + @color/e_accent @style/ContactsAlertDialogTheme @dimen/contact_browser_list_item_height 24dip @@ -51,10 +51,11 @@ @style/PopupMenuStyle @color/navigation_bar_bg @color/navigation_bar_divider - true + @bool/isLight + @bool/isLight - diff --git a/res/values/colors.xml b/res/values/colors.xml index aeba877162416e230a0ebc87fdb750b3f7116d33..51eb19d11dc101137e13f531e7f8af49b7e81ec9 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -17,39 +17,39 @@ #F5F5F5 - #dd000000 + @color/e_primary_text_color - #89000000 + @color/e_secondary_text_color - #61000000 + @color/e_disabled_color - #737373 + @color/e_secondary_text_color #202020 #2a56c6 #0f000000 - #FFFFFF + @color/e_primary_text_color - @color/primary_color + @color/e_action_bar - #f6f6f6 + @color/e_action_bar - #bababa + @color/e_action_bar - #1c3aa9 - #2a56c6 + @color/e_action_bar + @color/e_accent - #546E7A - #607D8B + @color/e_action_bar + @color/e_action_bar #FFFFFF - @color/contacts_accent_color + @color/e_background #e0e0e0 @@ -61,7 +61,7 @@ #ffffff - #f4f4f4 + @color/e_background #2aad6f #ff2e58 @@ -73,7 +73,7 @@ #7f7f7f - #40000000 + @color/e_disabled_color #40000000 @@ -85,7 +85,7 @@ #4D000000 - #efefef + @color/e_background #0f9d58 @@ -97,12 +97,12 @@ #a0ffffff - #363636 + @color/e_primary_text_color - @color/dialtacts_secondary_text_color + @color/e_secondary_text_color - @color/dialtacts_theme_color + @color/e_primary_text_color #363636 @@ -117,7 +117,7 @@ #333333 - #737373 + @color/e_secondary_text_color #7f000000 @@ -132,39 +132,35 @@ These colors are also used by MaterialColorMapUtils to generate primary activity colors. --> - #DB4437 - #E91E63 - #9C27B0 - #673AB7 - #3F51B5 - #4285F4 - #039BE5 - #0097A7 - #009688 - #0F9D58 - #689F38 - #EF6C00 - #FF5722 - #757575 + #0F94F6 + #00B4B4 + #008D96 + #44B04C + #AFD83D + #FFED21 + #FFC300 + #FF7A00 + #F8432E + #ED1C61 + #ED1C61 + #5754DC - #C53929 - #C2185B - #7B1FA2 - #512DA8 - #303F9F - #3367D6 - #0277BD - #006064 - #00796B - #0B8043 - #33691E - #E65100 - #E64A19 - #424242 + #0F94F6 + #00B4B4 + #008D96 + #44B04C + #AFD83D + #FFED21 + #FFC300 + #FF7A00 + #F8432E + #ED1C61 + #ED1C61 + #5754DC - #ffffff + @color/e_primary_text_color @color/actionbar_background_color - #ffffff + @color/e_primary_text_color #8C000000 - #DF000000 + @color/actionbar_text_color #777777 - #000000 + @color/e_primary_text_color - #ffffff + @color/e_action_bar - #66000000 + @color/e_disabled_color @color/dialtacts_theme_color - #f9f9f9 + @color/e_background #FFFFFF @@ -233,7 +229,7 @@ @color/actionbar_text_color_black #dbdbdb - #f50057 + @color/e_accent #333333 @@ -245,13 +241,13 @@ #e0e0e0 - #E5E5E5 + @android:color/transparent - #FAFAFA + @color/e_drawer_background - #E8E8E8 + @color/navigation_drawer_item_background #1A000000 diff --git a/res/values/lineage_colors.xml b/res/values/lineage_colors.xml index 6aee4d227e64eb119fedd830dd6af0037f8bc5a0..96b4c511d07bfbe7cb3edb746d168b360fb9aaaa 100644 --- a/res/values/lineage_colors.xml +++ b/res/values/lineage_colors.xml @@ -15,6 +15,6 @@ limitations under the License. --> - @android:color/white - #1f000000 + @color/e_action_bar + @android:color/transparent diff --git a/res/values/styles.xml b/res/values/styles.xml index 18401599eae2ae34631379d15d176998e116583f..64b5af0a618e790defec1a2f6d83f1dc0714ab4d 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -92,7 +92,7 @@ @@ -453,6 +455,8 @@ background and text color. See also android:style/Widget.Holo.TextView.ListSepar