Page regles
This commit is contained in:
		@@ -1,27 +1,70 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:background="@color/cardview_dark_background">
 | 
			
		||||
    android:background="@color/cardview_dark_background"
 | 
			
		||||
    android:orientation="vertical">
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/title"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_centerHorizontal="true"
 | 
			
		||||
        android:autoSizeMaxTextSize="100dp"
 | 
			
		||||
        android:autoSizeMinTextSize="10dp"
 | 
			
		||||
        android:layout_gravity="center"
 | 
			
		||||
        android:text="@string/title_rules_activity"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="40dp"/>
 | 
			
		||||
        android:textSize="40dp" />
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:layout_below="@+id/title"
 | 
			
		||||
        android:id="@+id/title_gen"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_marginTop="20dp"
 | 
			
		||||
        android:padding="5dp"
 | 
			
		||||
        android:text="@string/title_gen_rules"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="20dp"/>
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/gen"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:padding="10dp"
 | 
			
		||||
        android:text="@string/general_rules"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:padding="5dp"/>
 | 
			
		||||
        android:textSize="16dp"/>
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/title_hot"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_marginTop="30dp"
 | 
			
		||||
        android:padding="5dp"
 | 
			
		||||
        android:text="@string/title_hotseat"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="20dp"/>
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/hot"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:padding="10dp"
 | 
			
		||||
        android:text="@string/rules_hotseat"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="16dp"/>
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/title_bot"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_marginTop="30dp"
 | 
			
		||||
        android:padding="5dp"
 | 
			
		||||
        android:text="@string/title_bot"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="20dp"/>
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/bot"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:padding="10dp"
 | 
			
		||||
        android:text="@string/rules_bot"
 | 
			
		||||
        android:textColor="#eee"
 | 
			
		||||
        android:textSize="16dp"/>
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
@@ -11,11 +11,14 @@
 | 
			
		||||
    <string name="summary">Cette fonctionnalité augmente la difficulté du jeu pour l\'attaquant</string>
 | 
			
		||||
    
 | 
			
		||||
    <!-- Rules -->
 | 
			
		||||
    <string name="title_gen_rules">Règles générales :</string>
 | 
			
		||||
    <string name="general_rules">Le mastermind est un jeu qui se joue généralement à deux, un défenseur doit choisir un code couleur que l\'attaquant devra deviner.
 | 
			
		||||
    Pour se faire, une fois le code choisi par le 1er joueur, le 2nd a 10 tentatives pour le retrouver, après chaque essai le défenseur évalue la proposition.
 | 
			
		||||
    Pour se faire, une fois le code choisi par le 1er joueur, le 2nd a 10 tentatives pour le retrouver, après chaque essai la proposition est évalué.
 | 
			
		||||
    Avec des pions noirs il indique les couleurs bien placées, et avec des pions blancs des couleurs mal placées, s\'il ne place pas de pion c\'est que la couleur
 | 
			
		||||
        de la proposition n\'est pas dans le code à trouver.</string>
 | 
			
		||||
    <string name="rules_hotseat"></string>
 | 
			
		||||
    <string name="rules_bot"></string>
 | 
			
		||||
    <string name="title_hotseat">Mode 1 vs 1 :</string>
 | 
			
		||||
    <string name="rules_hotseat">Mode de jeu classique, le défenseur choisit un code, l\'attaquant fait ces propositions et la notation de chaque tentative est faite à la main par le défenseur.</string>
 | 
			
		||||
    <string name="title_bot">Mode 1 vs Ordi :</string>
 | 
			
		||||
    <string name="rules_bot">Dans ce mode de jeu, le code couleur est choisi aléatoirement par un bot, et les notations des essaies est sont faites de manière automatique.</string>
 | 
			
		||||
 | 
			
		||||
</resources>
 | 
			
		||||
		Reference in New Issue
	
	Block a user