diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..fb7f4a8 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index d291b3d..526b4c2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,15 +1,19 @@ + diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..a5f05cd --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index bd80782..2aba626 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,13 @@ - + + + + diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 7f68460..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 0f57366..959989a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 30 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.example.tictactoe" minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -22,7 +22,7 @@ android { } } - defaultConfig{ + defaultConfig { vectorDrawables.useSupportLibrary = true } @@ -30,12 +30,12 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation 'androidx.preference:preference:1.1.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.1' + implementation 'androidx.preference:preference:1.1.1' testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' - implementation 'com.google.android.material:material:1.0.0' + androidTestImplementation 'androidx.test:runner:1.4.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + implementation 'com.google.android.material:material:1.4.0' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.15' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 943a2d5..726c1b5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,36 +1,36 @@ + xmlns:tools="http://schemas.android.com/tools" + package="com.example.tictactoe"> - + android:allowBackup="true" + android:icon="@mipmap/ic_launcher" + android:label="@string/app_name" + android:roundIcon="@mipmap/ic_launcher_round" + android:supportsRtl="true" + android:theme="@style/AppTheme"> + - - - - + + + android:name=".SettingsActivity" + android:label="@string/title_activity_settings" /> + android:name="preloaded_fonts" + android:resource="@array/preloaded_fonts" /> \ No newline at end of file diff --git a/app/src/main/java/com/example/tictactoe/MainActivity.java b/app/src/main/java/com/example/tictactoe/MainActivity.java index 382a292..3a4ac7e 100644 --- a/app/src/main/java/com/example/tictactoe/MainActivity.java +++ b/app/src/main/java/com/example/tictactoe/MainActivity.java @@ -81,7 +81,7 @@ public static void start(final Activity activity, final String player1Symbol) { private SoundPool soundPool; private int victoryStreamId; private int drawStreamId; - + private String player1Colour = "#79CADC"; //lighter blue private String player2Colour = "#3A98D4"; //darker blue @@ -110,7 +110,7 @@ protected void onCreate(Bundle savedInstanceState) { textViewPlayer2 = findViewById(R.id.textView2); addPlayer1Name = findViewById(R.id.addName); addPlayer2Name = findViewById(R.id.addPlayer2Name); - // updatePointsText(); + // updatePointsText(); // timerr = findViewById(R.id.timerID); timerView = findViewById(R.id.timerID); diff --git a/build.gradle b/build.gradle index 48947c3..d05bccd 100644 --- a/build.gradle +++ b/build.gradle @@ -4,11 +4,11 @@ buildscript { repositories { google() jcenter() - + } dependencies { - classpath 'com.android.tools.build:gradle:3.5.1' - + classpath 'com.android.tools.build:gradle:7.0.3' + // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -18,7 +18,7 @@ allprojects { repositories { google() jcenter() - + } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9b2fe6b..d7fb1dc 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-5.4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip