Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Last active May 8, 2024 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeforfun-jp/e0a1e71a38d7578d32d134963b5e980e to your computer and use it in GitHub Desktop.
Save codeforfun-jp/e0a1e71a38d7578d32d134963b5e980e to your computer and use it in GitHub Desktop.
Java Intro #7-1
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
/* 省略 */
TextView textView = findViewById(R.id.textView);
String message = "こんにちは";
textView.setText(message);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment