diff --git a/Android.bp b/Android.bp index a8271b54ad24fc85755a7566edcbb376f12f5da9..13874b85d2bc1799dc5e77fe791367adf9ba8e5a 100644 --- a/Android.bp +++ b/Android.bp @@ -33,7 +33,7 @@ android_app { "androidx.collection_collection", "androidx.arch.core_core-common", "androidx.lifecycle_lifecycle-common", - "com.google.android.material_material", + "androidx.lifecycle_lifecycle-runtime", "androidx.percentlayout_percentlayout", "androidx.transition_transition", @@ -43,7 +43,8 @@ android_app { "androidx.appcompat_appcompat", "androidx.gridlayout_gridlayout", "androidx.recyclerview_recyclerview", - "androidx-constraintlayout_constraintlayout" + "androidx-constraintlayout_constraintlayout", + "elib", ], required: [ "com.android.deskclock_whitelist" diff --git a/res/color/checkbox_color.xml b/res/color/checkbox_color.xml new file mode 100644 index 0000000000000000000000000000000000000000..852841877b6eed37552ff677488b301a74272689 --- /dev/null +++ b/res/color/checkbox_color.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable/digit_background.xml b/res/drawable/digit_background.xml index 95d91de47c67a925f13af222634a1b1cc22051e0..f276dad829c51f50bfc137d376e1f19d7024b51e 100644 --- a/res/drawable/digit_background.xml +++ b/res/drawable/digit_background.xml @@ -3,5 +3,5 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> - + diff --git a/res/drawable/ic_caret_down.xml b/res/drawable/ic_caret_down.xml index e802999d03178481ff809b7fc8d3a4359d61a50a..d67f149115c862915393836fd6716063835d2bac 100644 --- a/res/drawable/ic_caret_down.xml +++ b/res/drawable/ic_caret_down.xml @@ -22,7 +22,7 @@ android:bottom="8dp"> - + diff --git a/res/drawable/ic_caret_up.xml b/res/drawable/ic_caret_up.xml index d0ad7eed73d3ef996b8a13ba85b8b547e8105cce..3833435acd0861aff3085e56c3c8de5c07dedf9c 100644 --- a/res/drawable/ic_caret_up.xml +++ b/res/drawable/ic_caret_up.xml @@ -22,7 +22,7 @@ android:bottom="8dp"> - + diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml index 8bb038e444cfbb1f6bb339d10b4c695668b4115a..46be0492a5e10bb6147d22566c86ec96dc754fa0 100644 --- a/res/drawable/ic_launcher_background.xml +++ b/res/drawable/ic_launcher_background.xml @@ -1,8 +1,19 @@ + ~ Copyright ECORP SAS 2022 + ~ 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:fillColor="#225180"/> diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml index 5f494b6ee5f7f7326d97b984283991ce5bf79b18..bcb86117237e26958539d8b0276f116c45988699 100644 --- a/res/drawable/ic_launcher_foreground.xml +++ b/res/drawable/ic_launcher_foreground.xml @@ -1,39 +1,97 @@ + ~ Copyright ECORP SAS 2022 + ~ 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/popup_background.xml b/res/drawable/popup_background.xml index 66ef3597c8c8fe6a6b676ed3c9f29ded8e54973f..9582aacd32031f4dd3e144c97cccf38bf67795b2 100644 --- a/res/drawable/popup_background.xml +++ b/res/drawable/popup_background.xml @@ -3,5 +3,5 @@ android:shape="rectangle"> - + diff --git a/res/layout-land/desk_clock.xml b/res/layout-land/desk_clock.xml index 03f6ba72fd545df5267697199d05e7603e8723c9..c1b53a7ff0dc5ac5e3bf6b388237af22b54ae746 100644 --- a/res/layout-land/desk_clock.xml +++ b/res/layout-land/desk_clock.xml @@ -97,7 +97,7 @@ android:layout_margin="@dimen/fab_margin" android:contentDescription="@null" app:borderWidth="0dp" - app:fabCustomSize="@dimen/fab_height" + app:fabCustomSize="@dimen/fab_size" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -125,7 +125,7 @@ android:id="@+id/bottom_view" android:layout_width="match_parent" android:layout_height="72dp" - android:background="@color/secondary_color" + android:background="@color/e_action_bar_dark" app:menu="@menu/bottom_navigation_menu" app:itemIconTint="@color/tab_tint_color" app:itemTextColor="@color/tab_tint_color" diff --git a/res/layout-land/desk_clock_old.xml b/res/layout-land/desk_clock_old.xml index 6f98ce5552165bc8c49e82faf743779cbb65a6d3..22e9050c1144b1e4c32e2d92b205eee61e9c2e61 100644 --- a/res/layout-land/desk_clock_old.xml +++ b/res/layout-land/desk_clock_old.xml @@ -93,7 +93,7 @@ android:layout_margin="@dimen/fab_margin" android:contentDescription="@null" app:borderWidth="0dp" - app:fabCustomSize="@dimen/fab_height" + app:fabCustomSize="@dimen/fab_size" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -119,7 +119,7 @@ android:id="@+id/bottom_view" android:layout_width="match_parent" android:layout_height="72dp" - android:background="@color/secondary_color" + android:background="@color/e_action_bar_dark" app:menu="@menu/bottom_navigation_menu" app:itemIconTint="@color/tab_tint_color" app:itemTextColor="@color/tab_tint_color" diff --git a/res/layout/city_list_item.xml b/res/layout/city_list_item.xml index 520ab328d9ca18971db3eaa2bfbecfcdc245ad30..d797251805eaa73fe09d7ef23cd1d7f33890a6f5 100644 --- a/res/layout/city_list_item.xml +++ b/res/layout/city_list_item.xml @@ -34,7 +34,8 @@ android:id="@+id/city_onoff" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:clickable="false" /> + android:clickable="false" + android:buttonTint="@color/checkbox_color" /> + ~ Copyright ECORP SAS 2022 + ~ 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/colors.xml b/res/values/colors.xml index 91ca138738f7d8578fd079837eac4eff39d515f3..9986a95d358666a219d74beb61e04926e53ab58d 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -33,30 +33,30 @@ #B3FFFFFF - @android:color/system_neutral1_900 + @color/e_background_dark #000000 - @android:color/system_accent3_200 - @android:color/system_accent2_200 - @android:color/system_neutral1_800 - @android:color/system_neutral2_800 + @color/e_accent_dark + @color/e_accent_dark + @color/e_floating_background_dark + @color/e_floating_background_dark - @color/accent_100 + @color/e_switch_thumb_on @color/black - @color/default_background + @color/e_switch_thumb_off - @color/accent_color + @color/e_switch_track_on - @color/system_neutral2_500 + @color/e_switch_track_off @android:color/system_neutral2_100 @android:color/system_neutral2_300 diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 856ef8241a01e4db10c8f1fea89e1b6502a9d793..335b3a9cd7ade6b135be4c0bc8076232e3557635 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -140,4 +140,6 @@ 8dp 4dp + + 72dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 7ae54c97cef30dd0508e3589636f031d5cec0eb1..5f2d308461b3b6b8afdd6f31ee7c128fc843b144 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -101,7 +101,8 @@ showTitle|homeAsUp - @@ -127,8 +128,8 @@ @@ -144,10 +145,9 @@ -