diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesFilter.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesFilter.java index a87690596..9ccf6e9c9 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesFilter.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ActivitySummariesFilter.java @@ -52,7 +52,7 @@ import nodomain.freeyourgadget.gadgetbridge.util.AndroidUtils; import nodomain.freeyourgadget.gadgetbridge.util.DateTimeUtils; -public class ActivitySummariesFilter extends AbstractGBActivity implements View.OnClickListener { +public class ActivitySummariesFilter extends AbstractGBActivity { private static final Logger LOG = LoggerFactory.getLogger(ActivitySummariesActivity.class); private static final String DATE_FILTER_FROM = "dateFromFilter"; private static final String DATE_FILTER_TO = "dateToFilter"; @@ -157,9 +157,6 @@ public class ActivitySummariesFilter extends AbstractGBActivity implements View. return null; } - @Override - public void onClick(View view) { - } public void addListenerOnSpinnerItemSelection() { Spinner spinner = findViewById(R.id.select_kind); diff --git a/app/src/main/res/layout/sport_activity_filter.xml b/app/src/main/res/layout/sport_activity_filter.xml index 5daad96cf..e6d4b7763 100644 --- a/app/src/main/res/layout/sport_activity_filter.xml +++ b/app/src/main/res/layout/sport_activity_filter.xml @@ -4,13 +4,11 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:padding="20dp" - tools:viewBindingIgnore="true"> - + android:padding="20dp"> @@ -33,7 +31,7 @@ android:id="@+id/filterfrom" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="bottom" + android:background="@drawable/abc_spinner_textfield_background_material" android:orientation="horizontal" android:paddingStart="10dp" android:paddingEnd="4dp" @@ -61,11 +59,12 @@ android:textSize="18sp" /> + + +