Correction du dernier gros bug
This commit is contained in:
@@ -71,6 +71,17 @@
|
||||
android:exported="false"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<!-- Rules Activities -->
|
||||
<activity
|
||||
android:name=".rules.RulesListActivity"
|
||||
android:exported="false"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<activity
|
||||
android:name=".rules.RuleDetailActivity"
|
||||
android:exported="false"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<!-- Legacy Activities (to be removed) -->
|
||||
<!-- Legacy activities placeholder -->
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ public class GameSelectionActivity extends AppCompatActivity implements GameAdap
|
||||
"Découvrez les règles des jeux d'ambiance populaires",
|
||||
R.drawable.ic_rules,
|
||||
GameInfo.GameType.RULES,
|
||||
false // Coming soon
|
||||
true // Available now!
|
||||
));
|
||||
}
|
||||
|
||||
@@ -117,9 +117,7 @@ public class GameSelectionActivity extends AppCompatActivity implements GameAdap
|
||||
startActivity(new Intent(this, com.example.boidelov3.games.papelito.PapelitoSetupActivity.class));
|
||||
break;
|
||||
case RULES:
|
||||
// À implémenter: RulesListActivity
|
||||
android.widget.Toast.makeText(this, "Règles de jeux - Bientôt disponible!",
|
||||
android.widget.Toast.LENGTH_SHORT).show();
|
||||
startActivity(new Intent(this, com.example.boidelov3.rules.RulesListActivity.class));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/accent"
|
||||
android:pathData="M18,2H6C4.9,2 4,2.9 4,4v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z" />
|
||||
android:fillColor="@color/text_on_primary"
|
||||
android:pathData="M14,2H6C4.9,2 4,2.9 4,4v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V8L14,2zM6,20V4h7v5h5v11H6z"/>
|
||||
<path
|
||||
android:fillColor="@color/text_on_primary"
|
||||
android:pathData="M8,12h8v2H8zM8,16h8v2H8zM8,8h5v2H8z"/>
|
||||
</vector>
|
||||
|
||||
Reference in New Issue
Block a user