1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="UTF-8"?> 2*90c8c64dSAndroid Build Coastguard Worker<!-- 3*90c8c64dSAndroid Build Coastguard Worker Copyright 2013 The Android Open Source Project 4*90c8c64dSAndroid Build Coastguard Worker 5*90c8c64dSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 6*90c8c64dSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 7*90c8c64dSAndroid Build Coastguard Worker You may obtain a copy of the License at 8*90c8c64dSAndroid Build Coastguard Worker 9*90c8c64dSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 10*90c8c64dSAndroid Build Coastguard Worker 11*90c8c64dSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 12*90c8c64dSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 13*90c8c64dSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*90c8c64dSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 15*90c8c64dSAndroid Build Coastguard Worker limitations under the License. 16*90c8c64dSAndroid Build Coastguard Worker--> 17*90c8c64dSAndroid Build Coastguard Worker 18*90c8c64dSAndroid Build Coastguard Worker<resources> 19*90c8c64dSAndroid Build Coastguard Worker <string name="app_name">ActiveNotifications</string> 20*90c8c64dSAndroid Build Coastguard Worker <string name="intro_message"> 21*90c8c64dSAndroid Build Coastguard Worker <![CDATA[ 22*90c8c64dSAndroid Build Coastguard Worker 23*90c8c64dSAndroid Build Coastguard Worker 24*90c8c64dSAndroid Build Coastguard WorkerNotifications can now be grouped in Android N. Since Android M, the 25*90c8c64dSAndroid Build Coastguard WorkerNotificationManager can tell you how many notifications your application 26*90c8c64dSAndroid Build Coastguard Workeris currently showing. This sample demonstrates how to use these APIs 27*90c8c64dSAndroid Build Coastguard Workertogether for a nicer user experience when an app may have multiple 28*90c8c64dSAndroid Build Coastguard Workernotifications. To get started, press the "add a notification" button. 29*90c8c64dSAndroid Build Coastguard WorkerIf you add more than one notification a notification summary will be 30*90c8c64dSAndroid Build Coastguard Workeradded. When a notification is being canceled, the count gets updated 31*90c8c64dSAndroid Build Coastguard Workervia a PendingIntent. 32*90c8c64dSAndroid Build Coastguard Worker 33*90c8c64dSAndroid Build Coastguard Worker 34*90c8c64dSAndroid Build Coastguard Worker ]]> 35*90c8c64dSAndroid Build Coastguard Worker </string> 36*90c8c64dSAndroid Build Coastguard Worker</resources> 37