Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. private fun createBigContentView(text: String, bigImage: Bitmap, pill: Bitmap) =
  2. RemoteViews(context.packageName, R.layout.notification_big_content_view).apply {
  3. setImageViewBitmap(R.id.notification_background_image, bigImage)
  4. setImageViewBitmap(R.id.notification_pill, pill)
  5. setTextViewText(R.id.notification_text, text)
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement