public class MainActivity
extends AppCompatActivity
| Constructor and Description |
|---|
MainActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onCreate(Bundle savedInstanceState)
Initializes this controller.
|
void |
pressed(View view)
Extracts the text from the input text box, translates the text, and displays the translation
in the output view.
|
protected void onCreate(Bundle savedInstanceState)
savedInstanceState - information needed for re-initialization.public void pressed(View view)
view - not applicable.