xref: /aosp_15_r20/development/samples/browseable/BasicNotifications/res/values/strings.xml (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*90c8c64dSAndroid Build Coastguard Worker<!--
3*90c8c64dSAndroid Build Coastguard WorkerCopyright 2013 The Android Open Source Project
4*90c8c64dSAndroid Build Coastguard Worker
5*90c8c64dSAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License");
6*90c8c64dSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License.
7*90c8c64dSAndroid Build Coastguard WorkerYou 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 WorkerUnless required by applicable law or agreed to in writing, software
12*90c8c64dSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
13*90c8c64dSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*90c8c64dSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
15*90c8c64dSAndroid Build Coastguard Workerlimitations under the License.
16*90c8c64dSAndroid Build Coastguard Worker-->
17*90c8c64dSAndroid Build Coastguard Worker<resources>
18*90c8c64dSAndroid Build Coastguard Worker
19*90c8c64dSAndroid Build Coastguard Worker    <string name="description">
20*90c8c64dSAndroid Build Coastguard Worker        Tap the button below to send a notification.\n\nThe notification\'s icon will immediately
21*90c8c64dSAndroid Build Coastguard Worker        appear in the notification bar. Drag the notification bar open to see the full
22*90c8c64dSAndroid Build Coastguard Worker        notification. Depending on which version of Android you\'re running, the full
23*90c8c64dSAndroid Build Coastguard Worker        notification will display an icon and two or three lines of text.
24*90c8c64dSAndroid Build Coastguard Worker        \n\nTap the notification to execute the notification\'s \"action,\" which is an intent
25*90c8c64dSAndroid Build Coastguard Worker        that we associate with the notification when it\'s created. This sample notification\'s
26*90c8c64dSAndroid Build Coastguard Worker        action is to send a browse intent with the url of the Notification docs on
27*90c8c64dSAndroid Build Coastguard Worker        developer.android.com.
28*90c8c64dSAndroid Build Coastguard Worker        \n\nThis sample uses the NotificationCompat API for maximum compatibility with versions
29*90c8c64dSAndroid Build Coastguard Worker        of Android from Froyo (Android 2.2) to the present. Try it on devices or AVDs that are
30*90c8c64dSAndroid Build Coastguard Worker        running different versions of Android. You\'ll see that while the presentation varies
31*90c8c64dSAndroid Build Coastguard Worker        slightly, the basic functionality is the same. NotificationCompat automatically takes
32*90c8c64dSAndroid Build Coastguard Worker        advantage of the expanded notification format in newer versions of Android, and
33*90c8c64dSAndroid Build Coastguard Worker        falls back gracefully to a reduced set of functionality on earlier versions.
34*90c8c64dSAndroid Build Coastguard Worker    </string>
35*90c8c64dSAndroid Build Coastguard Worker
36*90c8c64dSAndroid Build Coastguard Worker</resources>
37