summaryrefslogtreecommitdiffstats
path: root/samples/browseable/WearNotifications/Application/res
diff options
context:
space:
mode:
Diffstat (limited to 'samples/browseable/WearNotifications/Application/res')
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/earth.pngbin0 -> 155081 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_alarm_white_48dp.pngbin0 -> 1201 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_cancel_white_48dp.pngbin0 -> 751 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_launcher.pngbin0 -> 781 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_message_black_18dp.pngbin0 -> 194 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_person_black_48dp.pngbin0 -> 428 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_reply_white_18dp.pngbin0 -> 219 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-hdpi/tile.9.pngbin0 -> 196 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_alarm_white_48dp.pngbin0 -> 821 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_cancel_white_48dp.pngbin0 -> 536 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_launcher.pngbin0 -> 558 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_message_black_18dp.pngbin0 -> 144 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_person_black_48dp.pngbin0 -> 307 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_reply_white_18dp.pngbin0 -> 165 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_alarm_white_48dp.pngbin0 -> 1668 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_cancel_white_48dp.pngbin0 -> 1003 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_launcher.pngbin0 -> 1062 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_message_black_18dp.pngbin0 -> 156 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_person_black_48dp.pngbin0 -> 565 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_reply_white_18dp.pngbin0 -> 253 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_alarm_white_48dp.pngbin0 -> 2492 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_cancel_white_48dp.pngbin0 -> 1481 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_launcher.pngbin0 -> 1616 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_message_black_18dp.pngbin0 -> 241 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_person_black_48dp.pngbin0 -> 846 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_reply_white_18dp.pngbin0 -> 351 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_alarm_white_48dp.pngbin0 -> 3399 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_cancel_white_48dp.pngbin0 -> 2015 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_launcher.pngbin0 -> 2153 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_message_black_18dp.pngbin0 -> 248 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_person_black_48dp.pngbin0 -> 1121 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_reply_white_18dp.pngbin0 -> 436 bytes
-rw-r--r--samples/browseable/WearNotifications/Application/res/layout/activity_big_picture_main.xml37
-rw-r--r--samples/browseable/WearNotifications/Application/res/layout/activity_big_text_main.xml38
-rw-r--r--samples/browseable/WearNotifications/Application/res/layout/activity_inbox_main.xml38
-rw-r--r--samples/browseable/WearNotifications/Application/res/layout/activity_main.xml62
-rw-r--r--samples/browseable/WearNotifications/Application/res/layout/activity_messaging_main.xml38
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-sw600dp/template-dimens.xml24
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-sw600dp/template-styles.xml25
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-v11/template-styles.xml22
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-v21/base-colors.xml21
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-v21/base-template-styles.xml24
-rw-r--r--samples/browseable/WearNotifications/Application/res/values-w820dp/dimens.xml22
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/base-strings.xml33
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/colors.xml21
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/dimens.xml21
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/strings.xml43
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/styles.xml21
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/template-dimens.xml32
-rw-r--r--samples/browseable/WearNotifications/Application/res/values/template-styles.xml42
50 files changed, 564 insertions, 0 deletions
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/earth.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/earth.png
new file mode 100644
index 000000000..13abd77a5
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/earth.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_alarm_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_alarm_white_48dp.png
new file mode 100644
index 000000000..75e5a46ee
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_alarm_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_cancel_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_cancel_white_48dp.png
new file mode 100644
index 000000000..dc32a14f9
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_cancel_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_launcher.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 000000000..0ed1b5fbf
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_message_black_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_message_black_18dp.png
new file mode 100644
index 000000000..d921ba2da
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_message_black_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_person_black_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_person_black_48dp.png
new file mode 100644
index 000000000..f1e148490
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_person_black_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_reply_white_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_reply_white_18dp.png
new file mode 100644
index 000000000..cc732baab
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/ic_reply_white_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-hdpi/tile.9.png b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/tile.9.png
new file mode 100644
index 000000000..135862883
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-hdpi/tile.9.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_alarm_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_alarm_white_48dp.png
new file mode 100644
index 000000000..280e09df3
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_alarm_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_cancel_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_cancel_white_48dp.png
new file mode 100644
index 000000000..6ebbc8316
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_cancel_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_launcher.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 000000000..2b6948acb
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_message_black_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_message_black_18dp.png
new file mode 100644
index 000000000..2156f1673
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_message_black_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_person_black_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_person_black_48dp.png
new file mode 100644
index 000000000..360a32f27
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_person_black_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_reply_white_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_reply_white_18dp.png
new file mode 100644
index 000000000..b336e2f4d
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-mdpi/ic_reply_white_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_alarm_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_alarm_white_48dp.png
new file mode 100644
index 000000000..aa8102fd2
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_alarm_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_cancel_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_cancel_white_48dp.png
new file mode 100644
index 000000000..dc775b243
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_cancel_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_launcher.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..d9b134890
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_message_black_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_message_black_18dp.png
new file mode 100644
index 000000000..185d6136e
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_message_black_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_person_black_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_person_black_48dp.png
new file mode 100644
index 000000000..1ebc37be1
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_person_black_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_reply_white_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_reply_white_18dp.png
new file mode 100644
index 000000000..0424c2bd6
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xhdpi/ic_reply_white_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_alarm_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_alarm_white_48dp.png
new file mode 100644
index 000000000..f665286f8
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_alarm_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_cancel_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_cancel_white_48dp.png
new file mode 100644
index 000000000..cf2822a07
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_cancel_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_launcher.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..cb4f56f26
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_message_black_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_message_black_18dp.png
new file mode 100644
index 000000000..e710deeb5
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_message_black_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_person_black_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_person_black_48dp.png
new file mode 100644
index 000000000..77e3a1816
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_person_black_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_reply_white_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_reply_white_18dp.png
new file mode 100644
index 000000000..eeb5d4977
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxhdpi/ic_reply_white_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_alarm_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_alarm_white_48dp.png
new file mode 100644
index 000000000..419f4bb4f
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_alarm_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_cancel_white_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_cancel_white_48dp.png
new file mode 100644
index 000000000..8bea844cd
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_cancel_white_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_launcher.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_launcher.png
new file mode 100644
index 000000000..77c9929cb
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_launcher.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_message_black_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_message_black_18dp.png
new file mode 100644
index 000000000..5456c42f4
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_message_black_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_person_black_48dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_person_black_48dp.png
new file mode 100644
index 000000000..6be3e3063
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_person_black_48dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_reply_white_18dp.png b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_reply_white_18dp.png
new file mode 100644
index 000000000..de0dad204
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/drawable-xxxhdpi/ic_reply_white_18dp.png
Binary files differ
diff --git a/samples/browseable/WearNotifications/Application/res/layout/activity_big_picture_main.xml b/samples/browseable/WearNotifications/Application/res/layout/activity_big_picture_main.xml
new file mode 100644
index 000000000..e86c462f5
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/layout/activity_big_picture_main.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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.
+-->
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".handlers.BigPictureSocialMainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/main_text_activity_big_picture_main"
+ android:id="@+id/mainTextView"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="true"/>
+</RelativeLayout>
diff --git a/samples/browseable/WearNotifications/Application/res/layout/activity_big_text_main.xml b/samples/browseable/WearNotifications/Application/res/layout/activity_big_text_main.xml
new file mode 100644
index 000000000..5b37603bd
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/layout/activity_big_text_main.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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.
+-->
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".handlers.BigTextMainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/main_text_activity_big_text_main"
+ android:id="@+id/mainTextView"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="true"/>
+
+</RelativeLayout>
diff --git a/samples/browseable/WearNotifications/Application/res/layout/activity_inbox_main.xml b/samples/browseable/WearNotifications/Application/res/layout/activity_inbox_main.xml
new file mode 100644
index 000000000..0377b4ae8
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/layout/activity_inbox_main.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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.
+-->
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".handlers.InboxMainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/main_text_activity_inbox_main"
+ android:id="@+id/mainTextView"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="true"/>
+
+</RelativeLayout>
diff --git a/samples/browseable/WearNotifications/Application/res/layout/activity_main.xml b/samples/browseable/WearNotifications/Application/res/layout/activity_main.xml
new file mode 100644
index 000000000..c18e102b2
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/layout/activity_main.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2016 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.
+-->
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/mainRelativeLayout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context="com.example.android.wearable.wear.wearnotifications.MainActivity">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Pick your Notification Style:"
+ android:id="@+id/spinnerHeadertextView"/>
+
+ <Spinner
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/spinner"
+ android:layout_below="@+id/spinnerHeadertextView"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/notificationDetails"
+ android:layout_below="@+id/spinner"
+ android:layout_alignParentStart="true"
+ android:layout_above="@+id/submit"
+ android:layout_alignEnd="@+id/spinner"
+ android:paddingTop="@dimen/activity_vertical_margin"/>
+
+ <Button
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Launch!"
+ android:onClick="onClick"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentStart="true"
+ android:id="@+id/submit"/>
+</RelativeLayout>
diff --git a/samples/browseable/WearNotifications/Application/res/layout/activity_messaging_main.xml b/samples/browseable/WearNotifications/Application/res/layout/activity_messaging_main.xml
new file mode 100644
index 000000000..205b4285d
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/layout/activity_messaging_main.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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.
+-->
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".handlers.MessagingMainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/main_text_activity_messaging_main"
+ android:id="@+id/mainTextView"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="true"/>
+
+</RelativeLayout> \ No newline at end of file
diff --git a/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-dimens.xml b/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-dimens.xml
new file mode 100644
index 000000000..22074a2bd
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-dimens.xml
@@ -0,0 +1,24 @@
+<!--
+ Copyright 2013 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>
+
+ <!-- Semantic definitions -->
+
+ <dimen name="horizontal_page_margin">@dimen/margin_huge</dimen>
+ <dimen name="vertical_page_margin">@dimen/margin_medium</dimen>
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-styles.xml b/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-styles.xml
new file mode 100644
index 000000000..03d197418
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-sw600dp/template-styles.xml
@@ -0,0 +1,25 @@
+<!--
+ Copyright 2013 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="Widget.SampleMessage">
+ <item name="android:textAppearance">?android:textAppearanceLarge</item>
+ <item name="android:lineSpacingMultiplier">1.2</item>
+ <item name="android:shadowDy">-6.5</item>
+ </style>
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values-v11/template-styles.xml b/samples/browseable/WearNotifications/Application/res/values-v11/template-styles.xml
new file mode 100644
index 000000000..8c1ea66f2
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-v11/template-styles.xml
@@ -0,0 +1,22 @@
+<!--
+ Copyright 2013 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>
+
+ <!-- Activity themes -->
+ <style name="Theme.Base" parent="android:Theme.Holo.Light" />
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values-v21/base-colors.xml b/samples/browseable/WearNotifications/Application/res/values-v21/base-colors.xml
new file mode 100644
index 000000000..8b6ec3f85
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-v21/base-colors.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2013 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>
+
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values-v21/base-template-styles.xml b/samples/browseable/WearNotifications/Application/res/values-v21/base-template-styles.xml
new file mode 100644
index 000000000..c778e4f98
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-v21/base-template-styles.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2013 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>
+
+ <!-- Activity themes -->
+ <style name="Theme.Base" parent="android:Theme.Material.Light">
+ </style>
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values-w820dp/dimens.xml b/samples/browseable/WearNotifications/Application/res/values-w820dp/dimens.xml
new file mode 100644
index 000000000..2a45ed87c
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values-w820dp/dimens.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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>
+ <!-- Example customization of dimensions originally defined in res/values/dimens.xml
+ (such as screen margins) for screens with more than 820dp of available width. This
+ would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
+ <dimen name="activity_horizontal_margin">64dp</dimen>
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values/base-strings.xml b/samples/browseable/WearNotifications/Application/res/values/base-strings.xml
new file mode 100644
index 000000000..554428945
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/base-strings.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2013 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">Wear Notifications</string>
+ <string name="intro_message">
+ <![CDATA[
+
+
+ Sample demonstrates best practices for Notification Styles that support Android
+ phone/tablets and Android Wear. The phone app demonstrates best practices if you do not
+ have a dedicated Android Wear app for Notifications. While the Android Wear app
+ demonstrates best practices for a standalone Wear Notification experience without
+ the Notifications showing on the phone/tablet.
+
+
+ ]]>
+ </string>
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values/colors.xml b/samples/browseable/WearNotifications/Application/res/values/colors.xml
new file mode 100644
index 000000000..752b74fc3
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/colors.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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="colorPrimary">#3F51B5</color>
+ <color name="colorPrimaryDark">#303F9F</color>
+ <color name="colorAccent">#FF4081</color>
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values/dimens.xml b/samples/browseable/WearNotifications/Application/res/values/dimens.xml
new file mode 100644
index 000000000..fcb2a4296
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/dimens.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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/samples/browseable/WearNotifications/Application/res/values/strings.xml b/samples/browseable/WearNotifications/Application/res/values/strings.xml
new file mode 100644
index 000000000..ddd1641be
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/strings.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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="reply_label">Reply</string>
+ <string name="reply_name">Me</string>
+
+ <string name="title_activity_big_text_main">BigTextStyle Main Activity</string>
+ <string name="title_activity_big_picture_main">BigPictureStyle Main Activity</string>
+ <string name="title_activity_inbox_main">InboxStyle Main Activity</string>
+ <string name="title_activity_messaging_main">MessagingStyle Main Activity</string>
+
+ <string name="main_text_activity_big_text_main">
+ This Activity would handle the reminder app\'s functionality.
+ \n\nThe notification type for this example was the Big Text Style!
+ </string>
+ <string name="main_text_activity_big_picture_main">
+ This Activity would handle the social app\'s functionality for an individual post.
+ \n\nThe notification type for this example was the Big Picture Style!
+ </string>
+ <string name="main_text_activity_inbox_main">
+ This Activity would handle the email app\'s functionality for an email(s).
+ \n\nThe notification type for this example was the Inbox Style!
+ </string>
+ <string name="main_text_activity_messaging_main">
+ This Activity would handle the messaging app\'s functionality for a chat(s).
+ \n\nThe notification type for this example was the Messaging Style!
+ </string>
+</resources> \ No newline at end of file
diff --git a/samples/browseable/WearNotifications/Application/res/values/styles.xml b/samples/browseable/WearNotifications/Application/res/values/styles.xml
new file mode 100644
index 000000000..6ea59e045
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/styles.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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="AppThemeOverride" parent="Theme.AppCompat.Light" />
+
+</resources> \ No newline at end of file
diff --git a/samples/browseable/WearNotifications/Application/res/values/template-dimens.xml b/samples/browseable/WearNotifications/Application/res/values/template-dimens.xml
new file mode 100644
index 000000000..39e710b5c
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/template-dimens.xml
@@ -0,0 +1,32 @@
+<!--
+ Copyright 2013 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>
+
+ <!-- Define standard dimensions to comply with Holo-style grids and rhythm. -->
+
+ <dimen name="margin_tiny">4dp</dimen>
+ <dimen name="margin_small">8dp</dimen>
+ <dimen name="margin_medium">16dp</dimen>
+ <dimen name="margin_large">32dp</dimen>
+ <dimen name="margin_huge">64dp</dimen>
+
+ <!-- Semantic definitions -->
+
+ <dimen name="horizontal_page_margin">@dimen/margin_medium</dimen>
+ <dimen name="vertical_page_margin">@dimen/margin_medium</dimen>
+
+</resources>
diff --git a/samples/browseable/WearNotifications/Application/res/values/template-styles.xml b/samples/browseable/WearNotifications/Application/res/values/template-styles.xml
new file mode 100644
index 000000000..6e7d593dd
--- /dev/null
+++ b/samples/browseable/WearNotifications/Application/res/values/template-styles.xml
@@ -0,0 +1,42 @@
+<!--
+ Copyright 2013 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>
+
+ <!-- Activity themes -->
+
+ <style name="Theme.Base" parent="android:Theme.Light" />
+
+ <style name="Theme.Sample" parent="Theme.Base" />
+
+ <style name="AppTheme" parent="Theme.Sample" />
+ <!-- Widget styling -->
+
+ <style name="Widget" />
+
+ <style name="Widget.SampleMessage">
+ <item name="android:textAppearance">?android:textAppearanceMedium</item>
+ <item name="android:lineSpacingMultiplier">1.1</item>
+ </style>
+
+ <style name="Widget.SampleMessageTile">
+ <item name="android:background">@drawable/tile</item>
+ <item name="android:shadowColor">#7F000000</item>
+ <item name="android:shadowDy">-3.5</item>
+ <item name="android:shadowRadius">2</item>
+ </style>
+
+</resources>