From 82aa364e796b6b1b38a5083e59ca23d387b94df1 Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Tue, 26 Apr 2016 09:39:21 -0700 Subject: [PATCH] Test bundle format in AppCompat At the same time, fix the targetSDK such that we don't have OLD_SDK installation error. Change-Id: Ie8e1fb88afef2a0e662b046e1a4ebf6522299bb8 --- .../animated/AndroidManifest.xml | 2 +- .../drawable/btn_radio_on_to_off_bundle.xml | 187 ++++++++++++++++++ .../app/AnimatedButtonBackground.java | 1 + .../static/AndroidManifest.xml | 2 +- 4 files changed, 190 insertions(+), 2 deletions(-) create mode 100644 samples/SupportVectorDrawable/animated/res/drawable/btn_radio_on_to_off_bundle.xml diff --git a/samples/SupportVectorDrawable/animated/AndroidManifest.xml b/samples/SupportVectorDrawable/animated/AndroidManifest.xml index 1a5934b1b..55d6bc602 100644 --- a/samples/SupportVectorDrawable/animated/AndroidManifest.xml +++ b/samples/SupportVectorDrawable/animated/AndroidManifest.xml @@ -17,7 +17,7 @@ - + diff --git a/samples/SupportVectorDrawable/animated/res/drawable/btn_radio_on_to_off_bundle.xml b/samples/SupportVectorDrawable/animated/res/drawable/btn_radio_on_to_off_bundle.xml new file mode 100644 index 000000000..f00d888ee --- /dev/null +++ b/samples/SupportVectorDrawable/animated/res/drawable/btn_radio_on_to_off_bundle.xml @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/AnimatedButtonBackground.java b/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/AnimatedButtonBackground.java index 11891ebc7..d8381d149 100644 --- a/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/AnimatedButtonBackground.java +++ b/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/AnimatedButtonBackground.java @@ -37,6 +37,7 @@ public class AnimatedButtonBackground extends Activity implements View.OnClickLi protected int[] icon = { R.drawable.animation_vector_drawable_grouping_1, R.drawable.animation_vector_progress_bar, + R.drawable.btn_radio_on_to_off_bundle, }; diff --git a/samples/SupportVectorDrawable/static/AndroidManifest.xml b/samples/SupportVectorDrawable/static/AndroidManifest.xml index eecaab54b..53fc9c2b5 100644 --- a/samples/SupportVectorDrawable/static/AndroidManifest.xml +++ b/samples/SupportVectorDrawable/static/AndroidManifest.xml @@ -17,7 +17,7 @@ - +