Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp

codeforfun-jp/MainActivity.java Secret

Created Sep 18, 2020
Embed
What would you like to do?
Java Intro #6-3
package jp.codeforfun.sample;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView textView = findViewById(R.id.textView);
textView.setText("こんにちは");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.