title: How to put a Datepicker inside a scrollview
body: <p>Hello I know this has been answerd but I'm still having problems understanting what to do becasue I'm new to android. 
  I just want to gather some info like a name, phone number, email, address and a date. The problems is that a have to put a ScrollView in order to show all the View, but the DatePicker is really big and I can't scroll down if it's inside a ScrollView</p>
  
  <p>I found this link that solves the problem
  <a href="https://gist.github.com/izmajlowiczl/6633221" rel="nofollow">https://gist.github.com/izmajlowiczl/6633221</a></p>
  
  <p>The problem is that I don't know how to call that class from my MainActivity. this is my Activity.</p>
  
  <pre><code>package com.example.intel.form;
  
  import android.support.design.widget.TextInputLayout;
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.widget.DatePicker;
  
  public class Main_Activity extends AppCompatActivity {   
  
      private TextInputLayout name;
      private TextInputLayout number;
      private TextInputLayout email;
      private TextInputLayout address;
      private DatePicker date;   
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main_);
  
          name = (TextInputLayout) findViewById(R.id.name);
          date = (DatePicker) findViewById(R.id.date);
          number = (TextInputLayout) findViewById(R.id.number);
          email = (TextInputLayout) findViewById(R.id.email);
          address = (TextInputLayout) findViewById(R.id.address);
  
      }
  }
  </code></pre>
  
  <p>I have tried for hours and in many different ways trying to call that method I found on internet.</p>
  
  <p>Any guidance would be appreciated</p>