diff --git a/opentasks/src/main/java/org/dmfs/tasks/EmptyTaskFragment.java b/opentasks/src/main/java/org/dmfs/tasks/EmptyTaskFragment.java index b9791348a4b48af36404e327368a7137a3d87df8..4b93c061b071c06bbeb83acb145a2b9bda4266ec 100644 --- a/opentasks/src/main/java/org/dmfs/tasks/EmptyTaskFragment.java +++ b/opentasks/src/main/java/org/dmfs/tasks/EmptyTaskFragment.java @@ -73,7 +73,6 @@ public class EmptyTaskFragment extends SupportFragment public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.opentasks_fragment_empty_task, container, false); - view.findViewById(R.id.empty_task_fragment_appbar).setBackgroundColor(mColor.argb()); return view; } } diff --git a/opentasks/src/main/res/layout/activity_task_twopane.xml b/opentasks/src/main/res/layout/activity_task_twopane.xml index e33c9edaf947683e85019654c90b231b0e5eec90..1a58bc8ea015ba8543713b1959bc9e21397781f8 100644 --- a/opentasks/src/main/res/layout/activity_task_twopane.xml +++ b/opentasks/src/main/res/layout/activity_task_twopane.xml @@ -1,56 +1,47 @@ - + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + app:tabBackground="@color/primary_dark" + app:tabMode="fixed"/> - - - + tools:context=".MainActivity" + app:layout_constraintTop_toBottomOf="@id/appbar" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="@id/pager"/> + + - \ No newline at end of file + \ No newline at end of file diff --git a/opentasks/src/main/res/layout/activity_task_twopane_small.xml b/opentasks/src/main/res/layout/activity_task_twopane_small.xml index 33230a590235147a680091b836dd20b8f0134d87..37ad2b842774fc2f7a9a1e21a89cd3b668a1236b 100644 --- a/opentasks/src/main/res/layout/activity_task_twopane_small.xml +++ b/opentasks/src/main/res/layout/activity_task_twopane_small.xml @@ -1,53 +1,70 @@ - - - + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> - + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - - + + + - + + - + - \ No newline at end of file + \ No newline at end of file diff --git a/opentasks/src/main/res/values-large-land/bools.xml b/opentasks/src/main/res/values-large-land/bools.xml deleted file mode 100644 index e5436733441f5e2f2fce05ae3a75276ade6e3527..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large-land/bools.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - true - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-large-land/dimens.xml b/opentasks/src/main/res/values-large-land/dimens.xml deleted file mode 100644 index e034564dd8dea99e5979ba32bfe8ea642d1765d8..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large-land/dimens.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - 10dp - 360dp - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-large-land/refs.xml b/opentasks/src/main/res/values-large-land/refs.xml deleted file mode 100644 index aacdabbc83ab3b9b12b57e2f022acaa16ba37e74..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large-land/refs.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - @layout/activity_task_twopane_small - - @layout/fragment_task_edit_detail_twopane - - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-large-land/styles.xml b/opentasks/src/main/res/values-large-land/styles.xml deleted file mode 100644 index afd3c4d015ad12a8a3d74d772b1fb773169be86c..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large-land/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-large/bools.xml b/opentasks/src/main/res/values-large/bools.xml deleted file mode 100644 index 0f2ac08bab36b581d30275df31a33226b22d0b55..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large/bools.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - false - diff --git a/opentasks/src/main/res/values-large/dimens.xml b/opentasks/src/main/res/values-large/dimens.xml deleted file mode 100644 index 2162c2d078c8690d64832176e03b91e5c262e731..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large/dimens.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - 10dp - 10dp - 104dp - -66dp - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-large/styles.xml b/opentasks/src/main/res/values-large/styles.xml deleted file mode 100644 index 07e59fcdad24659ba6d74f54e929299699f78728..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-large/styles.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp-land/bools.xml b/opentasks/src/main/res/values-sw600dp-land/bools.xml deleted file mode 100644 index e5436733441f5e2f2fce05ae3a75276ade6e3527..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp-land/bools.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - true - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp-land/dimens.xml b/opentasks/src/main/res/values-sw600dp-land/dimens.xml deleted file mode 100644 index 94f5b2da53455bb1fb0760201230e143bd34ffa0..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp-land/dimens.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 10dp - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp-land/refs.xml b/opentasks/src/main/res/values-sw600dp-land/refs.xml deleted file mode 100644 index 3aa3fd4afd820bdcc930ce316368cb7e33946931..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp-land/refs.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - @layout/activity_task_twopane - - @layout/fragment_task_edit_detail_twopane - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp-land/styles.xml b/opentasks/src/main/res/values-sw600dp-land/styles.xml deleted file mode 100644 index afd3c4d015ad12a8a3d74d772b1fb773169be86c..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp-land/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp/bools.xml b/opentasks/src/main/res/values-sw600dp/bools.xml deleted file mode 100644 index 691b11d4fee448e1c0a63cb2978275c4a02867c4..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp/bools.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - false - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp/dimens.xml b/opentasks/src/main/res/values-sw600dp/dimens.xml deleted file mode 100644 index 32e94693ccf0e2f3a59c7272a881daac561d1466..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp/dimens.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - 10dp - 10dp - 128dp - -80dp - 360dp - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw600dp/styles.xml b/opentasks/src/main/res/values-sw600dp/styles.xml deleted file mode 100644 index e8321d57052e01faa4cebcdeda0aa28946ae8dce..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-sw600dp/styles.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw720dp-land/dimens.xml b/opentasks/src/main/res/values-sw720dp-land/dimens.xml index dfef51eaebada58d723ad111906012751d4fee72..cd5ddc80449df73c31d73e85b6fa3dcec0a55e4b 100644 --- a/opentasks/src/main/res/values-sw720dp-land/dimens.xml +++ b/opentasks/src/main/res/values-sw720dp-land/dimens.xml @@ -1,10 +1,3 @@ - - - 128dp - 10dp - + 432dp \ No newline at end of file diff --git a/opentasks/src/main/res/values-xlarge-port/refs.xml b/opentasks/src/main/res/values-sw720dp-land/refs.xml similarity index 77% rename from opentasks/src/main/res/values-xlarge-port/refs.xml rename to opentasks/src/main/res/values-sw720dp-land/refs.xml index 3aa3fd4afd820bdcc930ce316368cb7e33946931..f0a09bfb742ea32ac15bae0753b751beca60f389 100644 --- a/opentasks/src/main/res/values-xlarge-port/refs.xml +++ b/opentasks/src/main/res/values-sw720dp-land/refs.xml @@ -11,8 +11,5 @@ @layout/activity_task_twopane - @layout/fragment_task_edit_detail_twopane - - + \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw720dp-port/dimens.xml b/opentasks/src/main/res/values-sw720dp-port/dimens.xml index d4f39d6ff87448aa8b7223d3979049e2701a9f73..50db893e0d27fddfb53de96678db6f43508f3953 100644 --- a/opentasks/src/main/res/values-sw720dp-port/dimens.xml +++ b/opentasks/src/main/res/values-sw720dp-port/dimens.xml @@ -1,5 +1,3 @@ - 360dp - \ No newline at end of file diff --git a/opentasks/src/main/res/values-sw720dp-port/refs.xml b/opentasks/src/main/res/values-sw720dp-port/refs.xml index ca3c90250a71d79b1c928c80499b738046636b00..cc615a49681a0b8bc93a948383ac5796d50b922e 100644 --- a/opentasks/src/main/res/values-sw720dp-port/refs.xml +++ b/opentasks/src/main/res/values-sw720dp-port/refs.xml @@ -11,8 +11,5 @@ @layout/activity_task_twopane_small - @layout/fragment_task_edit_detail_twopane - \ No newline at end of file diff --git a/opentasks/src/main/res/values-xlarge-port/bools.xml b/opentasks/src/main/res/values-xlarge-port/bools.xml deleted file mode 100644 index 9b999fecf07721df0a3f0b53d655f5073548a051..0000000000000000000000000000000000000000 --- a/opentasks/src/main/res/values-xlarge-port/bools.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - true -