From af7fe3e813a304c833a3b85efb0a874f004265bf Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Fri, 14 Oct 2022 15:08:04 +0530 Subject: [PATCH] Integrate elib --- app/build.gradle.kts | 3 ++ .../main/res/drawable/btn_rounded_corner.xml | 2 +- .../res/drawable/folder_title_text_cursor.xml | 2 +- app/src/main/res/drawable/folder_window.xml | 2 +- .../res/drawable/ic_cancel_white_24dp.xml | 2 +- app/src/main/res/layout/activity_widgets.xml | 4 +- app/src/main/res/layout/widgets_page.xml | 2 +- app/src/main/res/values/attrs.xml | 1 - app/src/main/res/values/colors.xml | 16 ++++---- app/src/main/res/values/styles.xml | 41 +++++++++++++++---- gradle/libs.versions.toml | 1 + settings.gradle.kts | 1 + 12 files changed, 52 insertions(+), 25 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index dc737110d2..4cd51a270f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -181,4 +181,7 @@ dependencies { // Testing dependencies testImplementation(libs.bundles.testing.unit) testImplementation(libs.bundles.testing.android) + + // elib + implementation(libs.elib) } diff --git a/app/src/main/res/drawable/btn_rounded_corner.xml b/app/src/main/res/drawable/btn_rounded_corner.xml index 010eb10ff8..22f860b6cf 100644 --- a/app/src/main/res/drawable/btn_rounded_corner.xml +++ b/app/src/main/res/drawable/btn_rounded_corner.xml @@ -4,7 +4,7 @@ - + diff --git a/app/src/main/res/drawable/folder_title_text_cursor.xml b/app/src/main/res/drawable/folder_title_text_cursor.xml index dc9df35ea5..dacc295f6c 100644 --- a/app/src/main/res/drawable/folder_title_text_cursor.xml +++ b/app/src/main/res/drawable/folder_title_text_cursor.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/drawable/folder_window.xml b/app/src/main/res/drawable/folder_window.xml index 475540dd9d..67f3d50cda 100755 --- a/app/src/main/res/drawable/folder_window.xml +++ b/app/src/main/res/drawable/folder_window.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - + diff --git a/app/src/main/res/drawable/ic_cancel_white_24dp.xml b/app/src/main/res/drawable/ic_cancel_white_24dp.xml index e5edeabe17..bdd25aa672 100755 --- a/app/src/main/res/drawable/ic_cancel_white_24dp.xml +++ b/app/src/main/res/drawable/ic_cancel_white_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/layout/activity_widgets.xml b/app/src/main/res/layout/activity_widgets.xml index 1f04dec632..92d0c7ea24 100644 --- a/app/src/main/res/layout/activity_widgets.xml +++ b/app/src/main/res/layout/activity_widgets.xml @@ -22,9 +22,9 @@ android:layout_gravity="center_horizontal" android:layout_marginTop="16dp" android:layout_marginBottom="32dp" - android:backgroundTint="#ff38D874" + android:backgroundTint="@color/colorAccent" android:text="@string/add_widget" - android:textColor="#fff" + android:textColor="@color/e_background_light" android:textSize="16sp" /> diff --git a/app/src/main/res/layout/widgets_page.xml b/app/src/main/res/layout/widgets_page.xml index 34f5daa0bf..55fa21ff06 100755 --- a/app/src/main/res/layout/widgets_page.xml +++ b/app/src/main/res/layout/widgets_page.xml @@ -57,7 +57,7 @@ android:stateListAnimator="@null" android:fontFamily="sans-serif-medium" android:textAllCaps="false" - android:textColor="#BD000000" + android:textColor="@color/on_surface_high_emphasis" android:text="@string/edit" /> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 37ef505895..8ed965e7c8 100755 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -25,7 +25,6 @@ - diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index b114818a86..09815dfd60 100755 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -2,7 +2,7 @@ #3F51B5 #303F9F - #FF4081 + @color/e_accent_light #ffffff #4D000000 @@ -23,15 +23,15 @@ #cc33b5e5 #4d33b5e5 #FFFFFF - #0088ED + @color/colorAccent - #4d666666 - #a1f0f0f0 + @color/e_launcher_widget_background + @color/e_launcher_search_background - #de000000 - #99000000 - #4dcbcbcb + @color/e_primary_text_color_dark + @color/e_secondary_text_color_dark + #1A202020 #26ffffff - #0086FF + @color/colorAccent diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index b4be6d1924..664806fd25 100755 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -3,10 +3,24 @@ + + - + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0c239eca93..a523f7a174 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -61,6 +61,7 @@ robolectric = "org.robolectric:robolectric:4.3" tools-desugar = "com.android.tools:desugar_jdk_libs:1.1.5" timber = "com.jakewharton.timber:timber:4.7.1" restriction-bypass = "com.github.ChickenHook:RestrictionBypass:2.2" +elib = "foundation.e:elib:0.0.1-alpha11" [plugins] android-application = { id = "com.android.application", version.ref = "agp" } diff --git a/settings.gradle.kts b/settings.gradle.kts index 026c826e3d..c1b4a10b40 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -18,6 +18,7 @@ dependencyResolutionManagement { maven("https://maven.fabric.io/public") mavenCentral() jcenter() + maven("https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven") maven("https://jitpack.io") } } -- GitLab