• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  * Copyright (C) 2013 The Android Open Source Project
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *       http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  -->
16
17<resources>
18
19    <string name="expanded">I\'m the expanded notification.\nCollapse me!</string>
20    <string name="collapsed">I\'m the collapsed notification.\nCreated at: %s</string>
21    <string name="show_notification">Show Notification</string>
22    <string name="custom_notification">I\'m a custom notification.</string>
23
24    <string name="intro_text">This sample demonstrates how a notification is created using the
25        <b>NotificationCompatBuilder</b>
26        with a custom content view. The layout of the notification is defined as a
27        layout resource and inflated as a <b>RemoteViews</b> object.
28        \n\nOn API level 16 and above, a different layout is inflated and set as
29        the <i>big content view</i>, which is used when the notification is expanded.
30        \n\n<b>Use the button below to create the notification.
31        \n\nIf your device is running Jelly Bean or above, try expanding or collapsing
32        the notification to see the different layouts.</b>
33    </string>
34    <string name="collapsed_image">A single Android robot waving. Symbolises a collapsed
35        notification.
36    </string>
37    <string name="expanded_image">Two Androids on top of each other. Symbolises an expanded
38        notification.
39    </string>
40
41</resources>
42