17 lines
429 B
Java
17 lines
429 B
Java
package su.fai.hello;
|
|
|
|
import android.app.Activity;
|
|
import android.os.Bundle;
|
|
import android.widget.TextView;
|
|
|
|
public class MainActivity extends Activity {
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
setContentView(R.layout.activity_main);
|
|
|
|
TextView text = (TextView)findViewById(R.id.my_text);
|
|
text.setText("Hello, world!");
|
|
}
|
|
}
|