ok
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.MasterMind"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:name=".SettingActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".MasterMindActivity"
|
||||
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);
|
||||
}
|
||||
}
|
@@ -21,7 +21,7 @@
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:textAlignment="center"
|
||||
android:layout_above="@+id/unJoeur"
|
||||
android:layout_above="@+id/unJoueur"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="center"
|
||||
android:editable="false"
|
||||
@@ -29,30 +29,30 @@
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/unJoeur"
|
||||
android:id="@+id/unJoueur"
|
||||
android:layout_width="0dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:textSize="38dp"
|
||||
android:textSize="30dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginHorizontal="40dp"
|
||||
android:background="@color/marron"
|
||||
android:text="Un Joeur"/>
|
||||
android:text="Un Joueur"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/deuxJoeur"
|
||||
android:id="@+id/deuxJoueur"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginTop="50dp"
|
||||
android:layout_below="@+id/unJoeur"
|
||||
android:layout_below="@+id/unJoueur"
|
||||
android:layout_marginHorizontal="40dp"
|
||||
android:background="@color/marron"
|
||||
android:textSize="38dp"
|
||||
android:text="Deux Joeur"/>
|
||||
android:textSize="30dp"
|
||||
android:text="Deux Joueur"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
9
app/src/main/res/layout/activity_setting.xml
Normal file
9
app/src/main/res/layout/activity_setting.xml
Normal file
@@ -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>
|
Reference in New Issue
Block a user