diff --git a/app/build.gradle b/app/build.gradle
index 1338bd8d..409e6c4d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -164,7 +164,7 @@ ext {
}
dependencies {
- implementation "io.github.wulkanowy:sdk:496dc01d15"
+ implementation "io.github.wulkanowy:sdk:b991d0c"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
diff --git a/app/src/main/res/drawable/background_widget_header_timetable.xml b/app/src/main/res/drawable/background_widget_header_timetable.xml
new file mode 100644
index 00000000..98eec700
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_header_timetable.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/background_widget_header_timetable_dark.xml b/app/src/main/res/drawable/background_widget_header_timetable_dark.xml
new file mode 100644
index 00000000..616a9127
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_header_timetable_dark.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/background_widget_item_timetable.xml b/app/src/main/res/drawable/background_widget_item_timetable.xml
new file mode 100644
index 00000000..08854fba
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_item_timetable.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/background_widget_item_timetable_dark.xml b/app/src/main/res/drawable/background_widget_item_timetable_dark.xml
new file mode 100644
index 00000000..e432a648
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_item_timetable_dark.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/background_widget_timetable.xml b/app/src/main/res/drawable/background_widget_timetable.xml
new file mode 100644
index 00000000..2267587d
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_timetable.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/background_widget_timetable_dark.xml b/app/src/main/res/drawable/background_widget_timetable_dark.xml
new file mode 100644
index 00000000..6fe7d0ab
--- /dev/null
+++ b/app/src/main/res/drawable/background_widget_timetable_dark.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/img_timetable_widget_preview.png b/app/src/main/res/drawable/img_timetable_widget_preview.png
old mode 100644
new mode 100755
index 55026025..84943018
Binary files a/app/src/main/res/drawable/img_timetable_widget_preview.png and b/app/src/main/res/drawable/img_timetable_widget_preview.png differ
diff --git a/app/src/main/res/layout/item_widget_timetable.xml b/app/src/main/res/layout/item_widget_timetable.xml
index 33f686da..899d7503 100644
--- a/app/src/main/res/layout/item_widget_timetable.xml
+++ b/app/src/main/res/layout/item_widget_timetable.xml
@@ -6,12 +6,12 @@
android:layout_height="wrap_content"
android:minHeight="45dp"
android:orientation="vertical"
+ android:background="@drawable/background_widget_item_timetable"
tools:context=".ui.modules.timetablewidget.TimetableWidgetFactory">
-
-
diff --git a/app/src/main/res/layout/item_widget_timetable_dark.xml b/app/src/main/res/layout/item_widget_timetable_dark.xml
index 34535c69..06233244 100644
--- a/app/src/main/res/layout/item_widget_timetable_dark.xml
+++ b/app/src/main/res/layout/item_widget_timetable_dark.xml
@@ -6,12 +6,12 @@
android:layout_height="wrap_content"
android:minHeight="45dp"
android:orientation="vertical"
+ android:background="@drawable/background_widget_item_timetable_dark"
tools:context=".ui.modules.timetablewidget.TimetableWidgetFactory">
-
-
diff --git a/app/src/main/res/layout/item_widget_timetable_small.xml b/app/src/main/res/layout/item_widget_timetable_small.xml
index 36a6bbdd..1bf4072d 100644
--- a/app/src/main/res/layout/item_widget_timetable_small.xml
+++ b/app/src/main/res/layout/item_widget_timetable_small.xml
@@ -91,7 +91,7 @@
tools:text="@tools:sample/lorem/random" />
-
diff --git a/app/src/main/res/layout/item_widget_timetable_small_dark.xml b/app/src/main/res/layout/item_widget_timetable_small_dark.xml
index a02d8585..50bbbd03 100644
--- a/app/src/main/res/layout/item_widget_timetable_small_dark.xml
+++ b/app/src/main/res/layout/item_widget_timetable_small_dark.xml
@@ -90,7 +90,7 @@
tools:text="@tools:sample/lorem/random" />
-
diff --git a/app/src/main/res/layout/widget_timetable.xml b/app/src/main/res/layout/widget_timetable.xml
index 8a08b5d2..059bb741 100644
--- a/app/src/main/res/layout/widget_timetable.xml
+++ b/app/src/main/res/layout/widget_timetable.xml
@@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/white"
+ android:background="@drawable/background_widget_timetable"
tools:context=".ui.modules.timetablewidget.TimetableWidgetProvider">
+ android:background="@drawable/background_widget_header_timetable">
@@ -77,7 +78,12 @@
android:id="@+id/timetableWidgetList"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginTop="56dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="66dp"
+ android:layout_marginRight="10dp"
+ android:layout_marginBottom="10dp"
+ android:divider="#00ffffff"
+ android:dividerHeight="4dp"
tools:listitem="@layout/item_widget_timetable" />
diff --git a/app/src/main/res/layout/widget_timetable_dark.xml b/app/src/main/res/layout/widget_timetable_dark.xml
index 5533eaee..9c8b8c56 100644
--- a/app/src/main/res/layout/widget_timetable_dark.xml
+++ b/app/src/main/res/layout/widget_timetable_dark.xml
@@ -3,13 +3,13 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/colorWidgetBackground"
+ android:background="@drawable/background_widget_timetable_dark"
tools:context=".ui.modules.timetablewidget.TimetableWidgetProvider">
+ android:background="@drawable/background_widget_header_timetable_dark">
@@ -77,7 +78,12 @@
android:id="@+id/timetableWidgetList"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginTop="56dp"
+ android:layout_marginTop="66dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:divider="#00ffffff"
+ android:dividerHeight="4dp"
tools:listitem="@layout/item_widget_timetable_dark" />