Modifications de quelques chaines
This commit is contained in:
parent
130de1177d
commit
358f554188
|
@ -7,8 +7,8 @@ android {
|
||||||
applicationId "fr.ynerant.tarot"
|
applicationId "fr.ynerant.tarot"
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 1
|
versionCode 2
|
||||||
versionName "1.0"
|
versionName "0.0.1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
@ -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()));
|
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);
|
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
||||||
player1.setAdapter(adapter);
|
player1.setAdapter(adapter);
|
||||||
|
int id = 0;
|
||||||
|
while (adapter.getItem(id) != Player.THIS_PLAYER)
|
||||||
|
++id;
|
||||||
|
player1.setSelection(id);
|
||||||
player2.setAdapter(adapter);
|
player2.setAdapter(adapter);
|
||||||
player2.setSelection(1);
|
player2.setSelection(1);
|
||||||
player3.setAdapter(adapter);
|
player3.setAdapter(adapter);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<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="action_settings">Paramètres</string>
|
||||||
<string name="menu_home">Accueil</string>
|
<string name="menu_home">Accueil</string>
|
||||||
<string name="nav_header_desc">En-tête de navigation</string>
|
<string name="nav_header_desc">En-tête de navigation</string>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<resources>
|
<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_open">Open navigation drawer</string>
|
||||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||||
<string name="nav_header_title">Tarot ENS Info</string>
|
<string name="nav_header_title">Tarot ENS Info</string>
|
||||||
|
|
Loading…
Reference in New Issue