diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..f01e7779057d55c3e2f9d091c60879e100af9deb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +stages: + - update-from-upstream + +include: + - project: 'e/templates' + ref: master + file: '/gitlab-ci/.gitlab-ci-import-updates-from-upstream.yml' diff --git a/res/color/search_chip_background_color.xml b/res/color/search_chip_background_color.xml index c94d155a5f39464adc9cb70ccb2cd512f5125f2b..8da4bb55362dc0466a16378ec512189675f98176 100644 --- a/res/color/search_chip_background_color.xml +++ b/res/color/search_chip_background_color.xml @@ -17,6 +17,6 @@ - + \ No newline at end of file diff --git a/res/color/search_chip_stroke_color.xml b/res/color/search_chip_stroke_color.xml index be169354eb62d3ce6d71250df4561a694b7c4548..a2875bb8cd85971b8192936d2023b78458ff52ca 100644 --- a/res/color/search_chip_stroke_color.xml +++ b/res/color/search_chip_stroke_color.xml @@ -18,6 +18,6 @@ - + \ No newline at end of file diff --git a/res/drawable/inspector_separator.xml b/res/drawable/inspector_separator.xml index cbb494a1d4832c550dc2b72461003aadd9f037d8..70e7ba380fe913da6cb186b13e9e20b1a76fbe00 100644 --- a/res/drawable/inspector_separator.xml +++ b/res/drawable/inspector_separator.xml @@ -19,6 +19,6 @@ - + \ No newline at end of file diff --git a/res/layout-sw720dp/directory_app_bar.xml b/res/layout-sw720dp/directory_app_bar.xml index 92865979390a6d1f9bddbe6a7ad31c8c96000fd5..7d4e4fc12b51f9ced77a09c624f3f622623529f6 100644 --- a/res/layout-sw720dp/directory_app_bar.xml +++ b/res/layout-sw720dp/directory_app_bar.xml @@ -20,7 +20,7 @@ android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?android:attr/colorBackground"> + android:background="@lineageos.platform:color/color_default_primary_dark"> @@ -42,7 +43,7 @@ android:id="@+id/toolbar_background_layout" android:layout_width="match_parent" android:layout_height="@dimen/action_bar_space_height" - android:background="?android:attr/colorBackground" + android:background="@lineageos.platform:color/color_default_primary_dark" app:layout_collapseMode="pin"/> + android:background="@lineageos.platform:color/color_default_primary_dark"/> diff --git a/res/layout/fixed_layout.xml b/res/layout/fixed_layout.xml index fb2cb2452a5c3d5bcc4aba1c86ca7e68710df22c..52e3dc15bda25db9c0badc5b043d4ee56f4f6eb9 100644 --- a/res/layout/fixed_layout.xml +++ b/res/layout/fixed_layout.xml @@ -34,7 +34,7 @@ android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" android:layout_margin="@dimen/search_bar_margin" - android:background="?android:attr/colorBackground" + android:background="@lineageos.platform:color/color_default_primary_dark" android:elevation="3dp" android:theme="?actionBarTheme" android:popupTheme="?actionBarPopupTheme" diff --git a/res/layout/inspector_activity.xml b/res/layout/inspector_activity.xml index df28d4968651e9800db0e17b871f898690de2caa..17946fe154ea01143ccd2bd66f6819001279fadf 100644 --- a/res/layout/inspector_activity.xml +++ b/res/layout/inspector_activity.xml @@ -25,11 +25,12 @@ android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?android:colorBackground"> + android:background="@lineageos.platform:color/color_default_primary_dark"> @@ -55,7 +57,7 @@ android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?android:attr/actionBarSize" - android:background="?android:attr/colorBackground" + android:background="@lineageos.platform:color/color_default_primary_dark" android:theme="?actionBarTheme" app:title="@string/inspector_title" app:titleTextAppearance="@style/ToolbarTitle" diff --git a/res/layout/inspector_header.xml b/res/layout/inspector_header.xml index 94a092790a434286dc3d091a32e1cc6318f70afd..20eee02d2b5bc5ea84e5546639d810316231936f 100644 --- a/res/layout/inspector_header.xml +++ b/res/layout/inspector_header.xml @@ -24,6 +24,7 @@ android:layout_height="match_parent" android:scaleType="fitCenter" android:alpha="0.0" + android:tint="@lineageos.platform:color/color_default_accent" android:background="?android:colorBackgroundFloating" /> diff --git a/res/layout/item_dir_grid.xml b/res/layout/item_dir_grid.xml index 269dd07827c38a7dfd261a14cbd80e720cc23a0e..8eaf636f6e6a19bf8648f868bb95de8c704bb4a4 100644 --- a/res/layout/item_dir_grid.xml +++ b/res/layout/item_dir_grid.xml @@ -65,6 +65,7 @@ android:layout_height="@dimen/grid_item_icon_size" android:layout_gravity="center" android:contentDescription="@null" + android:tint="@lineageos.platform:color/color_default_accent" android:scaleType="centerInside"/> \ No newline at end of file diff --git a/res/menu/sub_menu.xml b/res/menu/sub_menu.xml index 73a97dc9779336ff71374fb51b2e611b361cc4a2..76a60c3188805e280fbb7795112b9727f2a5872f 100644 --- a/res/menu/sub_menu.xml +++ b/res/menu/sub_menu.xml @@ -22,10 +22,12 @@ android:id="@+id/sub_menu_grid" android:title="@string/menu_grid" android:icon="@drawable/ic_menu_view_grid" + app:iconTint="@lineageos.platform:color/color_default_accent" app:showAsAction="always"/> - \ No newline at end of file + diff --git a/res/mipmap-hdpi/ic_background.png b/res/mipmap-hdpi/ic_background.png deleted file mode 100644 index 3237a8b80ff7533c9ca899ed33b8ef774245e41e..0000000000000000000000000000000000000000 Binary files a/res/mipmap-hdpi/ic_background.png and /dev/null differ diff --git a/res/mipmap-hdpi/ic_foreground.png b/res/mipmap-hdpi/ic_foreground.png deleted file mode 100644 index e959f3decd5e74010165d0d33f620337554691c9..0000000000000000000000000000000000000000 Binary files a/res/mipmap-hdpi/ic_foreground.png and /dev/null differ diff --git a/res/mipmap-hdpi/ic_launcher.png b/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..3240104ab9d12a97b439ecbfd5c027d30bbf65d7 Binary files /dev/null and b/res/mipmap-hdpi/ic_launcher.png differ diff --git a/res/mipmap-mdpi/ic_background.png b/res/mipmap-mdpi/ic_background.png deleted file mode 100644 index 5a021dbb574335b5a15f05f7bdd00d0abae8afb5..0000000000000000000000000000000000000000 Binary files a/res/mipmap-mdpi/ic_background.png and /dev/null differ diff --git a/res/mipmap-mdpi/ic_foreground.png b/res/mipmap-mdpi/ic_foreground.png deleted file mode 100644 index 3a0ef8b0ae014c5733b90b470a74f9b666361366..0000000000000000000000000000000000000000 Binary files a/res/mipmap-mdpi/ic_foreground.png and /dev/null differ diff --git a/res/mipmap-mdpi/ic_launcher.png b/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..74c1acfda09c867d2eb8fedf082b44fd6809d4cb Binary files /dev/null and b/res/mipmap-mdpi/ic_launcher.png differ diff --git a/res/mipmap-xhdpi/ic_background.png b/res/mipmap-xhdpi/ic_background.png deleted file mode 100644 index 3d05e29aa39f8f0b043febe5e1d9101af7bd0812..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xhdpi/ic_background.png and /dev/null differ diff --git a/res/mipmap-xhdpi/ic_foreground.png b/res/mipmap-xhdpi/ic_foreground.png deleted file mode 100644 index 1ad4b882bf7243c038d60cdba35806d35182754b..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xhdpi/ic_foreground.png and /dev/null differ diff --git a/res/mipmap-xhdpi/ic_launcher.png b/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..e4881058e0f34d65313425fc76b42270f55c2892 Binary files /dev/null and b/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/res/mipmap-xxhdpi/ic_background.png b/res/mipmap-xxhdpi/ic_background.png deleted file mode 100644 index 069090146e0ff222aa3d9d48e4fe73295853259b..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xxhdpi/ic_background.png and /dev/null differ diff --git a/res/mipmap-xxhdpi/ic_foreground.png b/res/mipmap-xxhdpi/ic_foreground.png deleted file mode 100644 index 8ae499783c15518883be6bb9dd71892464f63899..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xxhdpi/ic_foreground.png and /dev/null differ diff --git a/res/mipmap-xxhdpi/ic_launcher.png b/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..0e318c0330d02076f88b1ad9574388fc3dbb9a19 Binary files /dev/null and b/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/res/mipmap-xxxhdpi/ic_background.png b/res/mipmap-xxxhdpi/ic_background.png deleted file mode 100644 index fee41062e7b153e26f0aeef98daa1c9a6da4d6e2..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xxxhdpi/ic_background.png and /dev/null differ diff --git a/res/mipmap-xxxhdpi/ic_foreground.png b/res/mipmap-xxxhdpi/ic_foreground.png deleted file mode 100644 index bd10015ae8ae3d0a4fa40180d1227561c2c58eb4..0000000000000000000000000000000000000000 Binary files a/res/mipmap-xxxhdpi/ic_foreground.png and /dev/null differ diff --git a/res/mipmap-xxxhdpi/ic_launcher.png b/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..52f7271dd1c87e18713f00822e18130d58c216dd Binary files /dev/null and b/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/res/values-sw720dp/colors.xml b/res/values-night/bools.xml similarity index 77% rename from res/values-sw720dp/colors.xml rename to res/values-night/bools.xml index b39b89409dd94d4d32edc9411fc9ad0e193a1849..8a362691342d1ad303846056139968ace8cba66a 100644 --- a/res/values-sw720dp/colors.xml +++ b/res/values-night/bools.xml @@ -1,19 +1,16 @@ - - - #ff2852ab + + false diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml index 86bcbbc4846b0f9648ae0651d3cf8e0bc9a06af5..0c09e10459d3e6a580eed87c8c97b77994ab3b3d 100644 --- a/res/values-night/colors.xml +++ b/res/values-night/colors.xml @@ -14,11 +14,6 @@ limitations under the License. --> - #202124 - #3C4043 - #52000000 - - #8AB4F8 #3D8AB4F8 #5F6368 diff --git a/res/values-night/themes.xml b/res/values-night/themes.xml index 8ade73172dd2fdfff1ce649528d6356ad1ad73d3..ddf2dcd0278b53d0f53542362831e510a8a7a175 100644 --- a/res/values-night/themes.xml +++ b/res/values-night/themes.xml @@ -18,30 +18,4 @@ - diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/values/bools.xml similarity index 70% rename from res/mipmap-anydpi/ic_launcher.xml rename to res/values/bools.xml index d8649ba56640bf9a0f634519d40db702a9fc62cd..3299833ad0a73cfc7b6c2d22c5b5ed8d76c8055f 100644 --- a/res/mipmap-anydpi/ic_launcher.xml +++ b/res/values/bools.xml @@ -1,20 +1,16 @@ - - - - - + + true + diff --git a/res/values/colors.xml b/res/values/colors.xml index e00984ada249a6a4f4a7b41a8c146b97fba185a7..ac92bb1db61739332737feb5fc84e622b20c338c 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -19,28 +19,28 @@ else that needs to manually declare a background matching the "default" app background (e.g. the drawer overlay). --> - @android:color/white - @android:color/white - #99FFFFFF + @lineageos.platform:color/color_default_background + @lineageos.platform:color/color_default_primary_dark + @lineageos.platform:color/color_default_primary_dark - #1E88E5 + @lineageos.platform:color/color_default_accent #E3F2FD #E0E0E0 - #fff1f3f4 - @android:color/transparent - #1affffff - @android:color/white + @lineageos.platform:color/color_default_secondary_text + @lineageos.platform:color/color_default_primary_dark + @lineageos.platform:color/color_default_selector + @lineageos.platform:color/color_default_foreground @android:color/transparent - #7f000000 + @lineageos.platform:color/color_default_primary_dark - #88ffffff - #44000000 + @lineageos.platform:color/color_default_foreground + @lineageos.platform:color/color_default_foreground - #ff4688f2 - #ff4688f2 - #ff3367d6 - #fff5f5f5 + @lineageos.platform:color/color_default_accent + @lineageos.platform:color/color_default_accent + @lineageos.platform:color/color_default_accent + @lineageos.platform:color/color_default_foreground #1A73E8 #1A73E8 diff --git a/res/values/styles.xml b/res/values/styles.xml index 7b90d06dcbec1058e9575de5fddceccccd1a074e..90a7a710e436feeda23b8d03df72d38a15af4eb4 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -16,7 +16,8 @@ diff --git a/res/values/themes.xml b/res/values/themes.xml index 59ddec0565403ebb8f0d2eb608f0d7fbfb363c8d..a13fef2eec35f24b709eaad9771a222ddf38b6ee 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -22,25 +22,26 @@