Last active
April 9, 2019 17:15
-
-
Save timrijckaert/ab410e338b273dc294a32f3f28a1ebc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun createBigContentView(text: String, bigImage: Bitmap, pill: Bitmap) = | |
RemoteViews(context.packageName, R.layout.notification_big_content_view).apply { | |
setImageViewBitmap(R.id.notification_background_image, bigImage) | |
setImageViewBitmap(R.id.notification_pill, pill) | |
setTextViewText(R.id.notification_text, text) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment