Skip to content

Commit

Permalink
fix: Increase padding for popup notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
axel358 committed Sep 19, 2024
1 parent f2b70e3 commit 021d410
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 021d410

Please sign in to comment.