diff --git a/build.gradle b/build.gradle
index 456eb54f43fcc1572c27ac8919544934766ac3fe..4230247bf2544e937c1459adcfdeb03ec4115edf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -27,6 +27,7 @@ allprojects {
google()
jcenter()
maven { url "https://jitpack.io" }
+ maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven'}
}
}
diff --git a/gradle.properties b/gradle.properties
index d87befd02fba590bc1c5bb790a8408868a38482b..e32164be7ca8e4a04128d3233e6c7e7dc5153f28 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,5 +1,5 @@
COMPILE_SDK_VERSION=29
-MIN_SDK_VERSION=19
+MIN_SDK_VERSION=21
TARGET_SDK_VERSION=29
VERSION_OVERRIDE=0
android.enableJetifier=true
diff --git a/opentasks/build.gradle b/opentasks/build.gradle
index c92d48fe6c3d59737f57e7431ffba1f1707ea97c..fb22e9898bcb772f294c2ffac3017bd3ebc5832a 100644
--- a/opentasks/build.gradle
+++ b/opentasks/build.gradle
@@ -60,9 +60,6 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
- aaptOptions{
- additionalParameters '-I', 'opentasks/e-ui-sdk.jar'
- }
}
dependencies {
@@ -95,7 +92,7 @@ dependencies {
androidTestImplementation deps.support_test_runner
androidTestImplementation deps.support_test_rules
implementation project(path: ':opentaskspal')
- compileOnly files("e-ui-sdk.jar")
+ implementation 'foundation.e:elib:0.0.1-alpha11'
}
diff --git a/opentasks/e-ui-sdk.jar b/opentasks/e-ui-sdk.jar
deleted file mode 100644
index 4fe4cb0cb7123d5d3e771f29886f0d295b0388a4..0000000000000000000000000000000000000000
Binary files a/opentasks/e-ui-sdk.jar and /dev/null differ
diff --git a/opentasks/src/main/java/org/dmfs/tasks/TaskListActivity.java b/opentasks/src/main/java/org/dmfs/tasks/TaskListActivity.java
index 86310566ca4dea4f4f3e8cbf6edbf3a2ce821351..d7a846f664e324cb85a69c7a022549c91b944f50 100644
--- a/opentasks/src/main/java/org/dmfs/tasks/TaskListActivity.java
+++ b/opentasks/src/main/java/org/dmfs/tasks/TaskListActivity.java
@@ -369,7 +369,6 @@ public class TaskListActivity extends BaseActivity implements TaskListFragment.C
}
ACCENT_COLOR = fetchAccentColor(this);
- mFloatingActionButton.setBackgroundTintList(ColorStateList.valueOf(color_default_primary));
}
@@ -841,8 +840,7 @@ public class TaskListActivity extends BaseActivity implements TaskListFragment.C
//getSupportActionBar().setBackgroundDrawable(new ColorDrawable(color_accent));
getSupportActionBar().getThemedContext();
toolbar.setTitleTextColor(color_default_primary_text);
- setOverflowButtonColor(toolbar, ACCENT_COLOR);
-
+ toolbar.setOverflowIcon(ContextCompat.getDrawable(context, R.drawable.e_ic_more));
return ACCENT_COLOR;
}
diff --git a/opentasks/src/main/res/drawable/ic_add.xml b/opentasks/src/main/res/drawable/ic_add.xml
index cf705b076e774874fe16effeb045002986e92db1..c22a42c4a00e54e934e11eb119811e9b8686c3fe 100644
--- a/opentasks/src/main/res/drawable/ic_add.xml
+++ b/opentasks/src/main/res/drawable/ic_add.xml
@@ -3,8 +3,8 @@
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
- android:tint="@color/color_default_blue1">
+ android:tint="@color/e_icon_color">
diff --git a/opentasks/src/main/res/drawable/ic_settings.xml b/opentasks/src/main/res/drawable/ic_settings.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e1cfdfc8d9ca3d8152ae1a55d34e95eb588e5f04
--- /dev/null
+++ b/opentasks/src/main/res/drawable/ic_settings.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
diff --git a/opentasks/src/main/res/layout/activity_task_list.xml b/opentasks/src/main/res/layout/activity_task_list.xml
index 6528adecc57d6ed38a66cdd46b9149a2963d9f02..021149402111e9f9a93e277ef4e2c03d2918ad8f 100644
--- a/opentasks/src/main/res/layout/activity_task_list.xml
+++ b/opentasks/src/main/res/layout/activity_task_list.xml
@@ -42,7 +42,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="16dp"
- android:tint="@color/accent"
+ android:tint="@color/e_background"
+ app:backgroundTint="@color/e_accent"
app:layout_anchor="@id/pager"
app:layout_anchorGravity="bottom|right|end"
android:src="@drawable/ic_action_add"/>
diff --git a/opentasks/src/main/res/layout/activity_task_twopane.xml b/opentasks/src/main/res/layout/activity_task_twopane.xml
index cdbf9c5d2924ef703b6e57b2179bbee360cbf0b6..7df402d0e8d7a8d2047d4592e45bf4cdf8228abd 100644
--- a/opentasks/src/main/res/layout/activity_task_twopane.xml
+++ b/opentasks/src/main/res/layout/activity_task_twopane.xml
@@ -55,7 +55,8 @@
android:layout_gravity="center"
android:layout_margin="16dp"
app:layout_anchor="@id/appbar"
- android:tint="@color/accent"
+ app:backgroundTint="@color/e_accent"
+ android:tint="@color/e_background"
app:layout_anchorGravity="bottom|right|end"
android:src="@drawable/ic_action_add"/>
diff --git a/opentasks/src/main/res/layout/fragment_task_view_detail.xml b/opentasks/src/main/res/layout/fragment_task_view_detail.xml
index 9b1664d82de952de71badb240c3205157c716a4d..2210f79bfccbda8c65a6a6ec97fc6fc1409433f9 100644
--- a/opentasks/src/main/res/layout/fragment_task_view_detail.xml
+++ b/opentasks/src/main/res/layout/fragment_task_view_detail.xml
@@ -141,6 +141,8 @@
android:layout_gravity="center"
android:layout_margin="16dp"
android:src="@drawable/ic_action_complete"
+ android:tint="@color/e_background"
+ app:backgroundTint="@color/e_accent"
app:layout_anchor="@id/appbar"
app:layout_anchorGravity="bottom|right|end" />
diff --git a/opentasks/src/main/res/layout/fragment_visiblelist_list.xml b/opentasks/src/main/res/layout/fragment_visiblelist_list.xml
index c5f4d636115a2341b000f0f2716f426288194087..0ea60963119abb36f06f18ae3b01268e62b660ef 100644
--- a/opentasks/src/main/res/layout/fragment_visiblelist_list.xml
+++ b/opentasks/src/main/res/layout/fragment_visiblelist_list.xml
@@ -1,6 +1,7 @@
\ No newline at end of file
diff --git a/opentasks/src/main/res/layout/visible_task_list_item.xml b/opentasks/src/main/res/layout/visible_task_list_item.xml
index 862b570d8722a640cb4a835cd2a4ea868e7dc04f..49fcb13b5963990d7768a0045503ceaf997daab7 100644
--- a/opentasks/src/main/res/layout/visible_task_list_item.xml
+++ b/opentasks/src/main/res/layout/visible_task_list_item.xml
@@ -33,11 +33,9 @@
android:layout_centerVertical="true"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
- android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:padding="12dp"
- android:src="@drawable/ic_24_settings_black50"
- android:tint="@color/accent"/>
+ android:src="@drawable/ic_settings"/>
#22FFFFFF
@color/color_default_background
#CC33B5E5
- @lineageos.platform:color/color_default_green1
- @lineageos.platform:color/color_default_red1
+ #38D874
+ #FB3846
#ffc107
#11000000
#33000000
@@ -26,28 +26,27 @@
#ff669900
- @lineageos.platform:color/color_default_red1
+ @color/priority_red
#ffaa66cc
#ffffbb33
- @lineageos.platform:color/color_default_orange1
+ #FC7222
- @lineageos.platform:color/color_default_blue1
- @lineageos.platform:color/color_default_red1
+ @color/e_accent
+ @color/priority_red
#1f808080
- @lineageos.platform:color/color_default_primary
- @lineageos.platform:color/color_default_primary_dark
- @lineageos.platform:color/color_default_accent
- @lineageos.platform:color/color_default_primary_text
- @lineageos.platform:color/color_default_secondary_text
- @lineageos.platform:color/color_default_background
- @lineageos.platform:color/color_default_accent
- @lineageos.platform:color/color_default_gray2
- @lineageos.platform:color/color_default_green1
- @lineageos.platform:color/color_default_divider
+ @color/e_action_bar
+ @color/e_action_bar
+ @color/e_accent
+ @color/e_primary_text_color
+ @color/e_secondary_text_color
+ @color/e_background
+ @color/e_accent
+ @color/priority_green
+ @color/e_divider_color
\ No newline at end of file
diff --git a/opentasks/src/main/res/values/styles.xml b/opentasks/src/main/res/values/styles.xml
index 6a65b0df765d4b416175ffc81b4e99dbd3d2d642..39033c649e29284a5ff5a9e219ed6edf6de4e3ad 100644
--- a/opentasks/src/main/res/values/styles.xml
+++ b/opentasks/src/main/res/values/styles.xml
@@ -20,9 +20,9 @@
- true
- @color/primary_dark
- @style/Toolbar.Button.Navigation.Tinted
- - @drawable/ic_arrow_back_accent
- - @style/actionWhiteOverflowButtonStyle
+ - @drawable/e_ic_back
- @style/MyAppTheme_datePicker
+ - @color/e_floating_background
@@ -41,8 +41,7 @@
- @color/color_default_primary_text
- @color/primary_dark
- @style/Toolbar.Button.Navigation.Tinted
- - @drawable/ic_arrow_back_accent
- - @style/actionOverflowButtonStyle
+ - @drawable/e_ic_back
@@ -182,7 +181,7 @@
- @color/primary
- @color/primary_dark
- true
- - @color/accent
+ - @color/e_secondary_text_color
- @color/accent
- @color/accent
@@ -275,23 +274,22 @@
@@ -313,8 +311,7 @@
- @color/color_default_primary_text
- @color/primary_dark
- @color/primary_dark
- - @drawable/ic_arrow_back_accent
- - @style/actionOverflowButtonStyle
+ - @drawable/e_ic_back
@@ -453,7 +450,7 @@
@@ -473,10 +470,10 @@
\ No newline at end of file
diff --git a/opentasks/src/main/res/xml/listview_tabs.xml b/opentasks/src/main/res/xml/listview_tabs.xml
index 037ac6cb74aa652918db7c219f8d0880be406a21..4397eeb2771ee0a86bb667f983bf249827ceeff0 100644
--- a/opentasks/src/main/res/xml/listview_tabs.xml
+++ b/opentasks/src/main/res/xml/listview_tabs.xml
@@ -1,22 +1,22 @@