From c0c28280a2abbad5baecd4ed58939734616b5f43 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Fri, 14 Oct 2022 12:45:10 +0530 Subject: Integrate elib --- app/build.gradle | 6 +----- app/libs/e-ui-sdk-1.0.1-q.jar | Bin 115211 -> 0 bytes app/src/main/res/layout/topbar.xml | 2 +- app/src/main/res/values-night/colors.xml | 1 - app/src/main/res/values/colors.xml | 30 +++++++++++++++--------------- build.gradle | 1 + 6 files changed, 18 insertions(+), 22 deletions(-) delete mode 100644 app/libs/e-ui-sdk-1.0.1-q.jar diff --git a/app/build.gradle b/app/build.gradle index 3db8319..448bb30 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -111,10 +111,6 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } - aaptOptions { - additionalParameters '-I', 'app/libs/e-ui-sdk-1.0.1-q.jar' - } - buildFeatures { dataBinding true viewBinding true @@ -128,7 +124,6 @@ dependencies { implementation project(':fakelocation') - eCompileOnly files('libs/e-ui-sdk-1.0.1-q.jar') eImplementation files('libs/lineage-sdk.jar') implementation project(':trackers') @@ -157,6 +152,7 @@ dependencies { testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' + implementation 'foundation.e:elib:0.0.1-alpha11' } static def log(Object val) { diff --git a/app/libs/e-ui-sdk-1.0.1-q.jar b/app/libs/e-ui-sdk-1.0.1-q.jar deleted file mode 100644 index 16dfd86..0000000 Binary files a/app/libs/e-ui-sdk-1.0.1-q.jar and /dev/null differ diff --git a/app/src/main/res/layout/topbar.xml b/app/src/main/res/layout/topbar.xml index eaebce1..41f034e 100644 --- a/app/src/main/res/layout/topbar.xml +++ b/app/src/main/res/layout/topbar.xml @@ -32,6 +32,6 @@ android:layout_height="?android:attr/actionBarSize" android:layout_width="match_parent" tools:layout_height="56dp" - app:navigationIcon="@drawable/ic_back_24dp" + app:navigationIcon="@drawable/e_ic_back" /> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index bbf2357..6c1d53c 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -17,6 +17,5 @@ --> - #FFFFFF #169659 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 8a18288..cf59b6d 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,34 +1,34 @@ - @lineageos.platform:color/color_default_primary - @lineageos.platform:color/color_default_accent + @color/e_action_bar + @color/e_accent - @lineageos.platform:color/color_default_primary_text - @lineageos.platform:color/color_default_secondary_text + @color/e_primary_text_color + @color/e_secondary_text_color - @lineageos.platform:color/color_default_background - #000000 + @color/e_background + @color/e_alpha_base #263238 #FFFFFFFF - #66FFFFFF + @color/e_disabled_color #28C97C #F8432E #AADCFE - #14212121 + @color/e_background_overlay - #DEFFFFFF - #BDFFFFFF - #FFFFFF - #61FFFFFF + @color/e_primary_text_color_dark + @color/e_secondary_text_color_dark + @color/e_primary_text_color_dark + @color/e_disabled_color_dark - #4D666666 + @color/e_launcher_widget_background #2CCF69 - #99000000 - #61000000 + @color/e_secondary_text_color_dark + @color/e_disabled_color_dark \ No newline at end of file diff --git a/build.gradle b/build.gradle index e2fc899..c09960b 100644 --- a/build.gradle +++ b/build.gradle @@ -88,6 +88,7 @@ allprojects { } } maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" } + maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven' } maven { url 'https://jitpack.io' } def ciJobToken = System.getenv("CI_JOB_TOKEN") -- cgit v1.2.1