From 54e79ca55af9a851065e1904436a72b178d40b8e Mon Sep 17 00:00:00 2001 From: Mohd Shamweel Date: Sun, 30 Sep 2018 22:57:36 +0530 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..80a40f2 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 }; // Method (abilities: things the object can do) From bcd46f867d76efbfceb3c2a4db869942740569fb Mon Sep 17 00:00:00 2001 From: Mohd Shamweel Date: Sun, 30 Sep 2018 22:59:43 +0530 Subject: [PATCH 2/2] Add bronze color --- .idea/.name | 1 - .idea/gradle.xml | 3 +- .idea/misc.xml | 34 +++++++--- app/app.iml | 65 +++++++++++-------- .../teamtreehouse/funfacts/ColorWheel.java | 3 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- 7 files changed, 69 insertions(+), 43 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..8010b56 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,7 +3,7 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index c9710e6..17958cf 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,17 +3,31 @@ - - - - - - - - - + + + - + diff --git a/app/app.iml b/app/app.iml index 1593039..5e3bc90 100644 --- a/app/app.iml +++ b/app/app.iml @@ -9,13 +9,9 @@ - + - + + + + - + + + + + + + + + + + + + + + - + - - - - - - - - - - + + + + + + + + + + - - - - - - + + + - - - + + + + \ No newline at end of file diff --git a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java index 8a62442..e1a02b4 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..2540ef4 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:3.0.1' // 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..1a23d22 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Apr 10 15:27:10 PDT 2013 +#Sun Sep 30 22:50:20 IST 2018 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-4.1-all.zip