From 743aa0de9624f050e5cdda4d9a5f2d40300850c6 Mon Sep 17 00:00:00 2001 From: Chris Banes Date: Fri, 23 Jan 2015 10:13:10 +0000 Subject: [PATCH] Add some samples for AppCompat's styled widgets Change-Id: I930044339024d01c5ad4a2cfafca184c8c72dc8a --- samples/Support7Demos/AndroidManifest.xml | 27 ++++++ .../res/layout/appcompat_widgets_buttons.xml | 86 +++++++++++++++++++ .../layout/appcompat_widgets_text_input.xml | 51 +++++++++++ .../appcompat_widgets_text_spinners.xml | 38 ++++++++ samples/Support7Demos/res/values/strings.xml | 3 + .../app/AppCompatWidgetsButtons.java | 34 ++++++++ .../app/AppCompatWidgetsSpinners.java | 46 ++++++++++ .../app/AppCompatWidgetsTextInput.java | 53 ++++++++++++ 8 files changed, 338 insertions(+) create mode 100644 samples/Support7Demos/res/layout/appcompat_widgets_buttons.xml create mode 100644 samples/Support7Demos/res/layout/appcompat_widgets_text_input.xml create mode 100644 samples/Support7Demos/res/layout/appcompat_widgets_text_spinners.xml create mode 100644 samples/Support7Demos/src/com/example/android/supportv7/app/AppCompatWidgetsButtons.java create mode 100644 samples/Support7Demos/src/com/example/android/supportv7/app/AppCompatWidgetsSpinners.java create mode 100644 samples/Support7Demos/src/com/example/android/supportv7/app/AppCompatWidgetsTextInput.java diff --git a/samples/Support7Demos/AndroidManifest.xml b/samples/Support7Demos/AndroidManifest.xml index 53317ffb8..8fa13cc50 100644 --- a/samples/Support7Demos/AndroidManifest.xml +++ b/samples/Support7Demos/AndroidManifest.xml @@ -213,6 +213,33 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/Support7Demos/res/layout/appcompat_widgets_buttons.xml b/samples/Support7Demos/res/layout/appcompat_widgets_buttons.xml new file mode 100644 index 000000000..aa0732893 --- /dev/null +++ b/samples/Support7Demos/res/layout/appcompat_widgets_buttons.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + +