diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/tests/SampleActivity.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/tests/SampleActivity.java index ddc6b36..6e0ecc9 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/tests/SampleActivity.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/tests/SampleActivity.java @@ -21,7 +21,7 @@ Fragment fragment; if(view == findViewById(R.id.button)){ - fragment = new RealTime3DFragment(); + fragment = new StartFragment(); getSupportFragmentManager() .beginTransaction() .replace(R.id.fragment_field, fragment) @@ -29,7 +29,7 @@ } if(view == findViewById(R.id.button2)){ - fragment = new StartFragment(); + fragment = new RealTime3DFragment(); getSupportFragmentManager() .beginTransaction() .replace(R.id.fragment_field, fragment) diff --git a/app/src/main/res/layout/activity_sample.xml b/app/src/main/res/layout/activity_sample.xml index b59a92c..5103856 100644 --- a/app/src/main/res/layout/activity_sample.xml +++ b/app/src/main/res/layout/activity_sample.xml @@ -15,7 +15,7 @@ android:layout_marginRight="8dp" android:layout_marginTop="8dp" android:onClick="ClickButton" - android:text="Button" + android:text="Start" app:layout_constraintBottom_toTopOf="@+id/fragment_field" app:layout_constraintEnd_toStartOf="@+id/button2" app:layout_constraintHorizontal_bias="0.483" @@ -49,7 +49,7 @@ android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:onClick="ClickButton" - android:text="Button" + android:text="GameStart" app:layout_constraintBottom_toTopOf="@+id/fragment_field" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/button"