From 0dfad9e6b0d96135e9e8026c584c30993ecd73a8 Mon Sep 17 00:00:00 2001 From: Chris Banes Date: Tue, 17 Feb 2015 12:00:30 +0000 Subject: [PATCH] Add ActionMode demos to Support7Demos Change-Id: I6e98fbe932f3c9569a96cdfac8fe54b7913d2784 --- samples/Support7Demos/AndroidManifest.xml | 18 +++++ .../res/layout/action_bar_action_mode.xml | 27 +++++++ .../res/layout/toolbar_action_mode.xml | 42 ++++++++++ samples/Support7Demos/res/values/strings.xml | 3 + .../supportv7/app/ActionBarActionMode.java | 79 +++++++++++++++++++ .../supportv7/app/ToolbarActionMode.java | 77 ++++++++++++++++++ 6 files changed, 246 insertions(+) create mode 100644 samples/Support7Demos/res/layout/action_bar_action_mode.xml create mode 100644 samples/Support7Demos/res/layout/toolbar_action_mode.xml create mode 100644 samples/Support7Demos/src/com/example/android/supportv7/app/ActionBarActionMode.java create mode 100644 samples/Support7Demos/src/com/example/android/supportv7/app/ToolbarActionMode.java diff --git a/samples/Support7Demos/AndroidManifest.xml b/samples/Support7Demos/AndroidManifest.xml index 3e2ef99b0..f358bf772 100644 --- a/samples/Support7Demos/AndroidManifest.xml +++ b/samples/Support7Demos/AndroidManifest.xml @@ -213,6 +213,15 @@ + + + + + + + @@ -271,6 +280,15 @@ + + + + + + + diff --git a/samples/Support7Demos/res/layout/action_bar_action_mode.xml b/samples/Support7Demos/res/layout/action_bar_action_mode.xml new file mode 100644 index 000000000..d498fda95 --- /dev/null +++ b/samples/Support7Demos/res/layout/action_bar_action_mode.xml @@ -0,0 +1,27 @@ + + + + +