diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/ActivityListingChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/ActivityListingChartFragment.java
index 17e704582..546baa0cd 100644
--- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/ActivityListingChartFragment.java
+++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/ActivityListingChartFragment.java
@@ -29,6 +29,7 @@ import android.widget.TextView;
import com.github.mikephil.charting.animation.Easing;
import com.github.mikephil.charting.charts.Chart;
+import com.google.android.material.floatingactionbutton.FloatingActionButton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -63,6 +64,11 @@ public class ActivityListingChartFragment extends AbstractChartFragment {
stepListAdapter = new ActivityListingAdapter(getContext());
stepsList.setAdapter(stepListAdapter);
stepsDateView = rootView.findViewById(R.id.stepsDateView);
+ FloatingActionButton fab;
+ fab = rootView.findViewById(R.id.fab);
+ fab.setVisibility(View.VISIBLE);
+
+
refresh();
return rootView;
}
diff --git a/app/src/main/res/layout-land/fragment_sleepchart.xml b/app/src/main/res/layout-land/fragment_sleepchart.xml
index 320e160d1..ef304bd63 100644
--- a/app/src/main/res/layout-land/fragment_sleepchart.xml
+++ b/app/src/main/res/layout-land/fragment_sleepchart.xml
@@ -45,7 +45,7 @@
@@ -67,14 +66,14 @@
android:layout_weight="0.5" />
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -250,145 +114,11 @@
android:gravity="center"
android:orientation="horizontal">
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/app/src/main/res/layout/fragment_sleepchart.xml b/app/src/main/res/layout/fragment_sleepchart.xml
index 35823936e..6c08572fd 100644
--- a/app/src/main/res/layout/fragment_sleepchart.xml
+++ b/app/src/main/res/layout/fragment_sleepchart.xml
@@ -31,7 +31,7 @@
+
-
+ android:layout_height="wrap_content"
+ android:layout_below="@id/stepsDateView"
+ android:layout_alignParentBottom="false"
+ android:layout_marginTop="0dp">
-
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/layout_widget_active_steps.xml b/app/src/main/res/layout/layout_widget_active_steps.xml
new file mode 100644
index 000000000..06a6612b3
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_active_steps.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_widget_activities_count.xml b/app/src/main/res/layout/layout_widget_activities_count.xml
new file mode 100644
index 000000000..2a63cbb96
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_activities_count.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_widget_distance.xml b/app/src/main/res/layout/layout_widget_distance.xml
new file mode 100644
index 000000000..b29094a59
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_distance.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/layout_widget_duration.xml b/app/src/main/res/layout/layout_widget_duration.xml
new file mode 100644
index 000000000..8149b6c98
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_duration.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/heartrate_average_widget.xml b/app/src/main/res/layout/layout_widget_heartrate_average.xml
similarity index 100%
rename from app/src/main/res/layout/heartrate_average_widget.xml
rename to app/src/main/res/layout/layout_widget_heartrate_average.xml
diff --git a/app/src/main/res/layout/intensity_total_widget.xml b/app/src/main/res/layout/layout_widget_intensity_total.xml
similarity index 100%
rename from app/src/main/res/layout/intensity_total_widget.xml
rename to app/src/main/res/layout/layout_widget_intensity_total.xml
diff --git a/app/src/main/res/layout/layout_widget_intensity_total2.xml b/app/src/main/res/layout/layout_widget_intensity_total2.xml
new file mode 100644
index 000000000..6857f15e2
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_intensity_total2.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/layout_widget_total_steps.xml b/app/src/main/res/layout/layout_widget_total_steps.xml
new file mode 100644
index 000000000..391804c25
--- /dev/null
+++ b/app/src/main/res/layout/layout_widget_total_steps.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file