diff --git a/.google/packaging.yaml b/.google/packaging.yaml index e5dc053..17dcb01 100644 --- a/.google/packaging.yaml +++ b/.google/packaging.yaml @@ -1,3 +1,4 @@ + # GOOGLE SAMPLE PACKAGING DATA # # This file is used by Google as part of our samples packaging process. diff --git a/Application/build.gradle b/Application/build.gradle index 829da2c..0f94e18 100644 --- a/Application/build.gradle +++ b/Application/build.gradle @@ -1,10 +1,11 @@ + buildscript { repositories { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.0.0' + classpath 'com.android.tools.build:gradle:1.1.0' } } @@ -15,7 +16,7 @@ repositories { } dependencies { - compile "com.android.support:cardview-v7:21.0.2" + compile 'com.android.support:cardview-v7:21.0.2' } // The sample build uses multiple directories to @@ -35,6 +36,11 @@ android { targetSdkVersion 21 } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 + } + sourceSets { main { dirs.each { dir -> diff --git a/Application/src/main/res/values-v21/base-colors.xml b/Application/src/main/res/values-v21/base-colors.xml index 34c9cd1..8b6ec3f 100644 --- a/Application/src/main/res/values-v21/base-colors.xml +++ b/Application/src/main/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + diff --git a/Application/src/main/res/values-v21/base-template-styles.xml b/Application/src/main/res/values-v21/base-template-styles.xml index 0b2948f..c778e4f 100644 --- a/Application/src/main/res/values-v21/base-template-styles.xml +++ b/Application/src/main/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + diff --git a/Application/src/main/res/values/base-strings.xml b/Application/src/main/res/values/base-strings.xml index d39c396..1286322 100644 --- a/Application/src/main/res/values/base-strings.xml +++ b/Application/src/main/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + CardView Sample diff --git a/NOTICE b/NOTICE index e37ec1a..05e0e2e 100644 --- a/NOTICE +++ b/NOTICE @@ -1,3 +1,4 @@ + This sample uses the following software: Copyright 2015 The Android Open Source Project diff --git a/README.md b/README.md index c5914d1..059bcaa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + Android CardView Sample Sample ===================================