From 021d4104af941d60ed974eef992dc6cfb9914169 Mon Sep 17 00:00:00 2001 From: Axel358 Date: Thu, 19 Sep 2024 09:38:32 -0400 Subject: [PATCH] fix: Increase padding for popup notifications --- .../main/java/cu/axel/smartdock/services/NotificationService.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/cu/axel/smartdock/services/NotificationService.kt b/app/src/main/java/cu/axel/smartdock/services/NotificationService.kt index 21b6815a..be4dfb7b 100644 --- a/app/src/main/java/cu/axel/smartdock/services/NotificationService.kt +++ b/app/src/main/java/cu/axel/smartdock/services/NotificationService.kt @@ -96,6 +96,8 @@ class NotificationService : NotificationListenerService(), OnNotificationClickLi R.layout.notification_entry, null ) as LinearLayout + val padding = Utils.dpToPx(context, 10) + notificationLayout.setPadding(padding, padding, padding, padding) notificationLayout.setBackgroundResource(R.drawable.round_square) notificationLayout.visibility = View.GONE notificationTitleTv = notificationLayout.findViewById(R.id.notification_title_tv)