From 6a1ba4d51bcb540b8d7bf6e57504effc04426f3b Mon Sep 17 00:00:00 2001 From: Taras Date: Thu, 7 Sep 2017 17:41:42 +0300 Subject: [PATCH 1/2] Add gold color --- app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java index 8a62442..cfd7ded 100644 --- a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java +++ b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java @@ -19,7 +19,8 @@ public class ColorWheel { "#e0ab18", // mustard "#637a91", // dark gray "#f092b0", // pink - "#b7c0c7" // light gray + "#b7c0c7", // light gray + "#ddca8b" // gold color }; // Method (abilities: things the object can do) From f247197cf36995c8038275be86366342f890af1c Mon Sep 17 00:00:00 2001 From: Taras Date: Thu, 7 Sep 2017 17:42:59 +0300 Subject: [PATCH 2/2] Add bronze color --- .idea/.name | 1 - .idea/gradle.xml | 3 +- .idea/misc.xml | 24 +++++++ app/app.iml | 69 ++++++++++++------- app/build.gradle | 10 +-- .../teamtreehouse/funfacts/ColorWheel.java | 3 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 8 files changed, 79 insertions(+), 35 deletions(-) delete mode 100644 .idea/.name diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index 3f76547..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Fun Facts \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index bd4202c..c675af0 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,7 +5,7 @@ + diff --git a/.idea/misc.xml b/.idea/misc.xml index c9710e6..7e40dfc 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,6 +3,30 @@ + + + + diff --git a/app/app.iml b/app/app.iml index 1593039..761a2e7 100644 --- a/app/app.iml +++ b/app/app.iml @@ -12,10 +12,7 @@ - + + + @@ -50,6 +49,15 @@ + + + + + + + + + @@ -57,6 +65,15 @@ + + + + + + + + + @@ -64,34 +81,36 @@ - - - - - - - - - + + + + + + + + + + + - - - - - - - - - + - - - + + + + + + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 2007557..db1cfa9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 - buildToolsVersion "23.0.0" + compileSdkVersion 25 + buildToolsVersion "25.0.3" defaultConfig { applicationId "com.teamtreehouse.funfacts" - minSdkVersion 15 - targetSdkVersion 23 + minSdkVersion 19 + targetSdkVersion 25 versionCode 1 versionName "1.0" } @@ -21,5 +21,5 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.0.0' + compile 'com.android.support:appcompat-v7:25.3.1' } diff --git a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java index 8a62442..31f3ca4 100644 --- a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java +++ b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java @@ -19,7 +19,8 @@ public class ColorWheel { "#e0ab18", // mustard "#637a91", // dark gray "#f092b0", // pink - "#b7c0c7" // light gray + "#b7c0c7", // light gray + "#8b4513" // bronze }; // Method (abilities: things the object can do) diff --git a/build.gradle b/build.gradle index 1b7886d..f46d653 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.3.0' + classpath 'com.android.tools.build:gradle:2.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e7faee0..1081cc3 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip