Public Sub CreateNotificationWithContent(Title As String, subTitle As String, Body As String, ImageURL As String, Identifier As String, Category As String, MillisecondsFromNow As Long) Dim ln As NativeObject ln = ln.Initialize("UNMutableNotificationContent").RunMethod("new", Null)...
The height of the status bar is not that big. I therefore wonder how I can see a very small displayed image and operate a very small key on that status bar with my thick fingers. In addition, a statusbar, the name says it all, is intended for statuses and not actually for operating elements such as a key. You could of course also display a (semi) transparent panel with the desired layout at the top over the screen content.
Informative Bible KJV App. Bible study tool with audio books and daily verse.
play.google.com
There are few customizations to the notifications, using the NB6 class.
I just don't know how do to make a similar notification (Bible image left, green action button right). using this class.
Check this file. That's the code I used for an app I'm working on.
Take note of the XML file inside Objects\res\layout, that is how you design the layout. In this case, I only show an image. You can also add a button or text if you want.
NOTES
- The XML files must be set to read-only after editing
- I found that the exact size of the image I used for the notifications worked well on most phones I tested on. Anything smaller or larger will cause some sizing issues when the notification is shown, You should play around with the image sizes and aspect ratio.
- I used the NotificationBuilder library for this.