From 0b98a32150e5efab96514a1808b2774a4cf2f840 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Wed, 31 Aug 2016 23:30:39 +0200 Subject: [PATCH] Remove errors related to API 11 --- app/build.gradle | 16 ++++++++++++---- app/src/main/res/layout/appwidget_configure.xml | 12 +++++++----- app/src/main/res/layout/weather_current_fragment.xml | 13 +++++++++++++ app/src/main/res/layout/weather_map.xml | 2 ++ 4 files changed, 34 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f22eb2e..a0172a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,6 +21,7 @@ android { jackOptions { enabled true } + vectorDrawables.useSupportLibrary = true } buildTypes { release { @@ -51,10 +52,17 @@ android { } dependencies { - compile 'com.android.support:support-v4:+' - compile 'com.google.android.gms:play-services-maps:+' - compile 'com.google.android.gms:play-services-analytics:+' - compile 'com.android.support:design:+' + // There are a few nasty issues: https://code.google.com/p/android/issues/detail?id=216597 + // Update once that bug is fixed. + compile 'com.android.support:support-v4:24.2.0' + + compile 'com.google.android.gms:play-services-maps:9.4.0' + compile 'com.google.android.gms:play-services-analytics:9.4.0' + // There are a few nasty issues: https://code.google.com/p/android/issues/detail?id=216597 + // Update once that bug is fixed. + compile 'com.android.support:design:24.2.0' + compile 'com.android.support:gridlayout-v7:24.2.0' + compile 'com.fasterxml.jackson.core:jackson-core:2.3.3' compile 'com.jakewharton.timber:timber:2.5.0' } diff --git a/app/src/main/res/layout/appwidget_configure.xml b/app/src/main/res/layout/appwidget_configure.xml index 05556bd..95be9d3 100644 --- a/app/src/main/res/layout/appwidget_configure.xml +++ b/app/src/main/res/layout/appwidget_configure.xml @@ -15,6 +15,7 @@ limitations under the License. --> @@ -59,6 +60,7 @@ android:orientation="horizontal" android:padding="30dp"> + - + app:layout_gravity="start" />