diff options
author | Nagesh Susarla <nageshs@google.com> | 2014-09-18 16:40:29 -0700 |
---|---|---|
committer | Nagesh Susarla <nageshs@google.com> | 2014-10-22 16:30:29 -0700 |
commit | cb0b5ab8affad7af3fccb68a13197a7b0e3993b1 (patch) | |
tree | 48f783afd962539bb1425351fdbfd5432bba4b9b /AutoMessagingDemo/app/src/main/res/values | |
parent | 7c700e80b902c8f7778ffd63c287ac5710fd69ef (diff) | |
download | demos-cb0b5ab8affad7af3fccb68a13197a7b0e3993b1.tar.gz |
Auto Messaging API Sample First draft
Create a simple application that lets developers send a few variations
of notifications such as
1. A conversation with single message
2. Multiple conversations with either single or multiple messages.
The Notifications are extended with the CarExtender class and thus can
be seen either on the emulator or GearHead dash
3. Add README.txt
4. Update the sample to use the latest android-auto-sdk.jar
5. refactor code to only expose the features in the sdk (no multiple partipants)
Bug: 17582488
Change-Id: Ic5d385361dca5e74c8b5e96dbc11fe11cdb421f7
Diffstat (limited to 'AutoMessagingDemo/app/src/main/res/values')
4 files changed, 87 insertions, 0 deletions
diff --git a/AutoMessagingDemo/app/src/main/res/values/colors.xml b/AutoMessagingDemo/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..0e6825b --- /dev/null +++ b/AutoMessagingDemo/app/src/main/res/values/colors.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources> + <color name="default_color_light">#ff4092c3</color> + <color name="default_color_dark">#ff241c99</color> +</resources> diff --git a/AutoMessagingDemo/app/src/main/res/values/dimens.xml b/AutoMessagingDemo/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..574a35d --- /dev/null +++ b/AutoMessagingDemo/app/src/main/res/values/dimens.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> +</resources> diff --git a/AutoMessagingDemo/app/src/main/res/values/strings.xml b/AutoMessagingDemo/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..001b10e --- /dev/null +++ b/AutoMessagingDemo/app/src/main/res/values/strings.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources> + <string name="app_name">Messaging Sample</string> + <string name="action_settings">Settings</string> + <string name="title">Messaging Sample</string> + <string name="notification_reply">Reply by Voice</string> + <string name="send_2_conversations">Send 2 conversations with 1 message</string> + <string name="send_1_conversation">Send 1 conversation with 1 message</string> + <string name="send_1_conv_3_messages">Send 1 conversation with 3 messages</string> + <string name="clear_log">Clear Log</string> +</resources> diff --git a/AutoMessagingDemo/app/src/main/res/values/styles.xml b/AutoMessagingDemo/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..3f1a6af --- /dev/null +++ b/AutoMessagingDemo/app/src/main/res/values/styles.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources> + <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"> + </style> +</resources> |