A demo app for the new Android N notification features
Switch branches/tags
Nothing to show
Clone or download
Latest commit ac099cb Mar 24, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update readme Mar 24, 2016
gradle/wrapper Initial commit Mar 23, 2016
images Update readme Mar 24, 2016
.gitignore Initial commit Mar 23, 2016
README.md Update readme Mar 24, 2016
build.gradle Initial commit Mar 23, 2016
gradle.properties Initial commit Mar 23, 2016
gradlew Initial commit Mar 23, 2016
gradlew.bat Initial commit Mar 23, 2016
settings.gradle Initial commit Mar 23, 2016

README.md

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