This commit is contained in:
2023-03-22 10:30:43 +01:00
parent bb894c2ca1
commit 8297290c31
13 changed files with 109 additions and 10 deletions
+3
View File
@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="/usr/share/java/gradle" />
</GradleProjectSettings>
</option>
</component>
</project>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/modules/app.iml" filepath="$PROJECT_DIR$/.idea/modules/app.iml" />
</modules>
</component>
</project>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":" />
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" />
<option name="LAST_KNOWN_AGP_VERSION" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/../.." />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Mar 20 10:22:46 CET 2023
sdk.dir=/opt/android-sdk
+3
View File
@@ -11,6 +11,9 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.MasterMind" android:theme="@style/Theme.MasterMind"
tools:targetApi="31"> tools:targetApi="31">
<activity
android:name=".SettingActivity"
android:exported="false" />
<activity <activity
android:name=".MasterMindActivity" android:name=".MasterMindActivity"
android:exported="false" /> android:exported="false" />
@@ -0,0 +1,14 @@
package com.example.mastermind.vue.mastermind.setting;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class SettingActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_setting);
}
}
+8 -8
View File
@@ -21,7 +21,7 @@
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:textAlignment="center" android:textAlignment="center"
android:layout_above="@+id/unJoeur" android:layout_above="@+id/unJoueur"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:gravity="center" android:gravity="center"
android:editable="false" android:editable="false"
@@ -29,30 +29,30 @@
<Button <Button
android:id="@+id/unJoeur" android:id="@+id/unJoueur"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:textSize="38dp" android:textSize="30dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:layout_marginHorizontal="40dp" android:layout_marginHorizontal="40dp"
android:background="@color/marron" android:background="@color/marron"
android:text="Un Joeur"/> android:text="Un Joueur"/>
<Button <Button
android:id="@+id/deuxJoeur" android:id="@+id/deuxJoueur"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:layout_marginTop="50dp" android:layout_marginTop="50dp"
android:layout_below="@+id/unJoeur" android:layout_below="@+id/unJoueur"
android:layout_marginHorizontal="40dp" android:layout_marginHorizontal="40dp"
android:background="@color/marron" android:background="@color/marron"
android:textSize="38dp" android:textSize="30dp"
android:text="Deux Joeur"/> android:text="Deux Joueur"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".vue.mastermind.setting.SettingActivity">
</androidx.constraintlayout.widget.ConstraintLayout>
+2 -2
View File
@@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins { plugins {
id 'com.android.application' version '7.4.2' apply false id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.4.2' apply false id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
} }
+8
View File
@@ -0,0 +1,8 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Mar 20 10:18:57 CET 2023
sdk.dir=/opt/android-sdk