Skip to content

A demo app for the new Android N notification features

Notifications You must be signed in to change notification settings

sathishmscict/Notifi

Repository files navigation

Notifi

========

A sample app demoing the awesome new Android N notification features. Simply hit a button on the main screen and the desired notification will appear!

Main Screen

#Notification Demos

In this application you can demo notifications for:

Standard Notifications

Standard system notifications using the new templates used in Android N.

Standard Notifications

Bundled Notifications

Bundled notifications that appear grouped when a group ID has been set for each notification.

Bundled Notifications

We can also display actions for notifications that are bundled.

Bundled Notifications with Actions

Heads Up Notifications

Heads-up notifications appear above the users current activity, provided the screen is on. As of andorid N, we can now use custom layouts for these notifications.

Heads Up Notification

Direct Reply Notification

Direct-reply notifications allow us to provide user input from a notification. We can then retrieve this input from the launched intent.

Direct Reply Notification

Custom View Notifications

We can now use custom views for notifications as of Android N. These can be for both collapsed and expanded notification layouts:

Custom Views Notification

Requirements

To compile and run the project you'll need:

  • Android SDK.
  • Android N (API 24) .
  • Android SDK Tools
  • Android SDK Build tools 24.0.0 rc1
  • Android Support Repository
  • Android Support libraries
  • JDK 8

#Building

To build, install and run a debug version, run this from the root of the project:

./gradlew assembleDebug

About

A demo app for the new Android N notification features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages