Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba14cc93 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

feat: add a default padding for widget

parent 1a067caa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -72,7 +72,8 @@ public class RoundedWidgetView extends LauncherAppWidgetHostView implements Offs
    @Override
    public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) {
        super.setAppWidget(appWidgetId, info);
        setPadding(0, 0, 0, 0);
        int widgetPadding = getResources().getDimensionPixelSize(R.dimen.widget_page_top_bottom_padding);
        setPadding(0, widgetPadding, 0, widgetPadding);
    }

    @Override