菊池 追記

This commit is contained in:
oKikuti 2024-05-31 11:13:45 +09:00
parent f5ecb9ea0d
commit 30560f8d6b
2 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@ package com.example.oplogy;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle; import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
@ -10,5 +11,7 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); setContentView(R.layout.activity_main);
TextView textMain = findViewById(R.id.TextMain);
} }
} }

View File

@ -13,17 +13,20 @@
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<TextView <TextView
android:id="@+id/TextMain"
android:textColor="@color/material_on_background_disabled"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="100dp"
android:text="PracticeTeam" android:text="PracticeTeam"
android:layout_gravity="center" android:layout_gravity="center"
android:textSize="50dp"/> android:textSize="50dp"/>
<Button <Button
android:layout_marginTop="" android:layout_marginTop="300dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="開始" android:text="開始"
android:textSize="20" android:textSize="50dp"
android:layout_gravity="center" android:layout_gravity="center"
/> />