Modifications de quelques chaines

This commit is contained in:
Yohann D'ANELLO 2019-12-02 17:14:15 +01:00
parent 130de1177d
commit 358f554188
4 changed files with 8 additions and 4 deletions

View File

@ -7,8 +7,8 @@ android {
applicationId "fr.ynerant.tarot"
minSdkVersion 24
targetSdkVersion 29
versionCode 1
versionName "1.0"
versionCode 2
versionName "0.0.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {

View File

@ -72,6 +72,10 @@ public class NewGameFragment extends Fragment {
ArrayAdapter<Player> adapter = new ArrayAdapter<>(getContext(), android.R.layout.simple_spinner_item, new ArrayList<>(Player.getAllPlayers()));
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
player1.setAdapter(adapter);
int id = 0;
while (adapter.getItem(id) != Player.THIS_PLAYER)
++id;
player1.setSelection(id);
player2.setAdapter(adapter);
player2.setSelection(1);
player3.setAdapter(adapter);

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Tarot ENS Info</string>
<string name="app_name">Sécat[ENS]</string>
<string name="action_settings">Paramètres</string>
<string name="menu_home">Accueil</string>
<string name="nav_header_desc">En-tête de navigation</string>

View File

@ -1,5 +1,5 @@
<resources>
<string name="app_name">Tarot ENS Info</string>
<string name="app_name">Secat[ENS]</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="nav_header_title">Tarot ENS Info</string>