diff --git a/samples/IntentPlayground/Android.mk b/samples/IntentPlayground/Android.mk new file mode 100644 index 000000000..7cd3b5a94 --- /dev/null +++ b/samples/IntentPlayground/Android.mk @@ -0,0 +1,19 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := samples tests + +# Only compile source java files in this apk. +LOCAL_SRC_FILES := $(call all-java-files-under, src) + +LOCAL_STATIC_JAVA_LIBRARIES = android-support-v13 + +LOCAL_PACKAGE_NAME := IntentPlayground + +LOCAL_SDK_VERSION := current + + +include $(BUILD_PACKAGE) + +# Use the folloing include to make our test apk. +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/samples/IntentPlayground/AndroidManifest.xml b/samples/IntentPlayground/AndroidManifest.xml new file mode 100644 index 000000000..210df6692 --- /dev/null +++ b/samples/IntentPlayground/AndroidManifest.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/IntentPlayground/res/drawable/card_background.xml b/samples/IntentPlayground/res/drawable/card_background.xml new file mode 100644 index 000000000..001247aaa --- /dev/null +++ b/samples/IntentPlayground/res/drawable/card_background.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/samples/IntentPlayground/res/drawable/divider.xml b/samples/IntentPlayground/res/drawable/divider.xml new file mode 100644 index 000000000..0a0dec325 --- /dev/null +++ b/samples/IntentPlayground/res/drawable/divider.xml @@ -0,0 +1,19 @@ + + + + + + \ No newline at end of file diff --git a/samples/IntentPlayground/res/drawable/expand_less_mtrl.xml b/samples/IntentPlayground/res/drawable/expand_less_mtrl.xml new file mode 100644 index 000000000..ee5cddf1c --- /dev/null +++ b/samples/IntentPlayground/res/drawable/expand_less_mtrl.xml @@ -0,0 +1,24 @@ + + + + + diff --git a/samples/IntentPlayground/res/drawable/expand_more_mtrl.xml b/samples/IntentPlayground/res/drawable/expand_more_mtrl.xml new file mode 100644 index 000000000..55def3d1f --- /dev/null +++ b/samples/IntentPlayground/res/drawable/expand_more_mtrl.xml @@ -0,0 +1,24 @@ + + + + + diff --git a/samples/IntentPlayground/res/drawable/expander_group_material.xml b/samples/IntentPlayground/res/drawable/expander_group_material.xml new file mode 100644 index 000000000..1b497da64 --- /dev/null +++ b/samples/IntentPlayground/res/drawable/expander_group_material.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/samples/IntentPlayground/res/drawable/info_icon.xml b/samples/IntentPlayground/res/drawable/info_icon.xml new file mode 100644 index 000000000..77ef9f3cb --- /dev/null +++ b/samples/IntentPlayground/res/drawable/info_icon.xml @@ -0,0 +1,24 @@ + + + + + diff --git a/samples/IntentPlayground/res/drawable/success_card_background.xml b/samples/IntentPlayground/res/drawable/success_card_background.xml new file mode 100644 index 000000000..bc48008e6 --- /dev/null +++ b/samples/IntentPlayground/res/drawable/success_card_background.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/samples/IntentPlayground/res/layout/activity_main.xml b/samples/IntentPlayground/res/layout/activity_main.xml new file mode 100644 index 000000000..d74e44038 --- /dev/null +++ b/samples/IntentPlayground/res/layout/activity_main.xml @@ -0,0 +1,31 @@ + + + + + + + diff --git a/samples/IntentPlayground/res/layout/activity_node.xml b/samples/IntentPlayground/res/layout/activity_node.xml new file mode 100644 index 000000000..bd35d8f72 --- /dev/null +++ b/samples/IntentPlayground/res/layout/activity_node.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + diff --git a/samples/IntentPlayground/res/layout/activity_radio_list_item.xml b/samples/IntentPlayground/res/layout/activity_radio_list_item.xml new file mode 100644 index 000000000..18cccf025 --- /dev/null +++ b/samples/IntentPlayground/res/layout/activity_radio_list_item.xml @@ -0,0 +1,38 @@ + + + + + + + + diff --git a/samples/IntentPlayground/res/layout/checkbox_list_item.xml b/samples/IntentPlayground/res/layout/checkbox_list_item.xml new file mode 100644 index 000000000..9ffc93c6f --- /dev/null +++ b/samples/IntentPlayground/res/layout/checkbox_list_item.xml @@ -0,0 +1,23 @@ + + + diff --git a/samples/IntentPlayground/res/layout/dialog_list_item.xml b/samples/IntentPlayground/res/layout/dialog_list_item.xml new file mode 100644 index 000000000..6be9d74e3 --- /dev/null +++ b/samples/IntentPlayground/res/layout/dialog_list_item.xml @@ -0,0 +1,27 @@ + + + + + \ No newline at end of file diff --git a/samples/IntentPlayground/res/layout/fragment_build_intent.xml b/samples/IntentPlayground/res/layout/fragment_build_intent.xml new file mode 100644 index 000000000..5cc5f47e4 --- /dev/null +++ b/samples/IntentPlayground/res/layout/fragment_build_intent.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + +