From 106e0446f8bb4307ea156fb4dcd1445957b3aa61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Soares?= Date: Thu, 22 Sep 2016 14:01:21 -0300 Subject: [PATCH 1/3] Update gradle to 2.2.0. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2354aa8..aa84423 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.3' + classpath 'com.android.tools.build:gradle:2.2.0' } } From a10e3a745a47b81fea9a6280311d00a4697aff54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Soares?= Date: Thu, 22 Sep 2016 14:02:41 -0300 Subject: [PATCH 2/3] Update support lib to 24.2.1 and build tools to 24.0.2. --- app/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ac9ecd1..cbf14f1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 24 - buildToolsVersion "24.0.1" + buildToolsVersion "24.0.2" defaultConfig { applicationId "com.support.android.designlibdemo" @@ -24,8 +24,8 @@ repositories { } dependencies { - compile 'com.android.support:design:24.2.0' - compile 'com.android.support:cardview-v7:24.2.0' + compile 'com.android.support:design:24.2.1' + compile 'com.android.support:cardview-v7:24.2.1' compile 'com.github.bumptech.glide:glide:3.6.0' compile 'de.hdodenhof:circleimageview:1.3.0' From 510284a0b52dca5b77c0244c3026697b156dd3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Soares?= Date: Thu, 22 Sep 2016 14:03:22 -0300 Subject: [PATCH 3/3] Suppress 'setDisplayHomeAsUpEnabled' warning. --- .../com/support/android/designlibdemo/CheeseDetailActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/support/android/designlibdemo/CheeseDetailActivity.java b/app/src/main/java/com/support/android/designlibdemo/CheeseDetailActivity.java index cf1b30f..78fcef7 100644 --- a/app/src/main/java/com/support/android/designlibdemo/CheeseDetailActivity.java +++ b/app/src/main/java/com/support/android/designlibdemo/CheeseDetailActivity.java @@ -43,6 +43,7 @@ public void onCreate(Bundle savedInstanceState) { final Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); + //noinspection ConstantConditions getSupportActionBar().setDisplayHomeAsUpEnabled(true); CollapsingToolbarLayout collapsingToolbar =