From 5dba099180c9d33e7bef02e8a42c4b400986e2da Mon Sep 17 00:00:00 2001 From: Damiilola Date: Fri, 1 Jun 2018 14:18:39 +0100 Subject: [PATCH 1/2] Add gold color --- FunFacts.iml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FunFacts.iml b/FunFacts.iml index 5def1bf..37cff80 100644 --- a/FunFacts.iml +++ b/FunFacts.iml @@ -1,5 +1,5 @@ - + From efeda6a891a0d6f4870b9385496125a4fc6136fd Mon Sep 17 00:00:00 2001 From: Damiilola Date: Fri, 1 Jun 2018 14:38:32 +0100 Subject: [PATCH 2/2] Add bronze color --- .idea/.name | 1 - .idea/codeStyles/Project.xml | 29 ++++++++ .idea/misc.xml | 35 +++++++--- app/app.iml | 68 +++++++++++-------- app/build.gradle | 6 +- .../teamtreehouse/funfacts/ColorWheel.java | 5 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 8 files changed, 101 insertions(+), 47 deletions(-) delete mode 100644 .idea/.name create mode 100644 .idea/codeStyles/Project.xml 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/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..30aa626 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index c9710e6..f684ab6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,17 +3,32 @@ - - - - - - - - - + + + - + diff --git a/app/app.iml b/app/app.iml index 1593039..adc3e44 100644 --- a/app/app.iml +++ b/app/app.iml @@ -1,5 +1,5 @@ - + @@ -9,13 +9,9 @@ - + - + + + + - + + + + + + + + + + + + + + + - + - - - - - - - - - - + + + + + + + + + + - - - - - - + + - - + - - - + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 2007557..a25d5aa 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 27 + defaultConfig { applicationId "com.teamtreehouse.funfacts" minSdkVersion 15 - targetSdkVersion 23 + targetSdkVersion 27 versionCode 1 versionName "1.0" } diff --git a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java index 8a62442..e56261b 100644 --- a/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java +++ b/app/src/main/java/com/teamtreehouse/funfacts/ColorWheel.java @@ -19,7 +19,10 @@ public class ColorWheel { "#e0ab18", // mustard "#637a91", // dark gray "#f092b0", // pink - "#b7c0c7" // light gray + "#b7c0c7", // light gray + "#ddca8b", //gold + "#8b4513" //bronze + }; // Method (abilities: things the object can do) diff --git a/build.gradle b/build.gradle index 1b7886d..1c33437 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.1.2' // 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..ba9b119 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-4.4-all.zip