Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. package com.example.myfirstapp;
  2.  
  3. import androidx.appcompat.app.AppCompatActivity;
  4. import android.os.Bundle;
  5. import android.widget.Button;
  6. import android.widget.EditText;
  7.  
  8. public class MainActivity extends AppCompatActivity {
  9.  
  10. double mother, father, current;
  11.  
  12. EditText motherHeight;
  13. EditText fatherHeight;
  14. EditText currentHeight;
  15.  
  16. Button genderButton;
  17. Button submitButton;
  18.  
  19. @Override
  20. protected void onCreate(Bundle savedInstanceState) {
  21. super.onCreate(savedInstanceState);
  22. setContentView(R.layout.activity_main);
  23.  
  24. mother = (EditText)(findViewById(R.id.motherHeight));
  25.  
  26.  
  27.  
  28. }
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement