title: New Activity not starting on click event?
body: <p>I hope you are doing well, I ma having a problem, I am trying to clikc a button in my main activity and move to an other activity, but it is not working, I see that the layout changes but does not take me to where I want, it give me an empty screen, here is my MainActivity : </p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      @BindView(R.id.newContractBtn)
      Button newContractBtn;
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
  
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          ButterKnife.bind(this);
  
          newContractBtn.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  Intent newContractIntent = new Intent(getApplicationContext(), NewContractActivity.class);
                  MainActivity.this.startActivity(newContractIntent);
              }
          });
  
      }
  }
  </code></pre>
  
  <p>Here is my NewContractActivity : </p>
  
  <pre><code>public class NewContractActivity extends AppCompatActivity {
  
      @BindView(R.id.newContractBtn)
      Button backToList;
  
  
      @Override
      public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
          super.onCreate(savedInstanceState, persistentState);
          setContentView(R.layout.new_contract);
  
          ButterKnife.bind(this);
  
          backToList.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  onBackPressed();
              }
          });
      }
  }
  </code></pre>
  
  <p>The classes are both in the Android Manifest.xml.</p>
  
  <p>here is the layout : ( 3 textviews and button - form )</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"
  
          &gt;
          &lt;RelativeLayout android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@color/colorPrimaryDark"
              android:paddingTop="10dp"
              android:paddingBottom="10dp"
              &gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="COSY"
                  android:textColor="@color/colorWhite"
                  android:textStyle="bold"
                  android:textSize="28sp"
                  android:layout_marginLeft="20dp"
                  android:layout_marginTop="5dp"
                  /&gt;
              &lt;Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="LIST" android:layout_alignParentRight="true" android:layout_marginRight="15dp"&gt;&lt;/Button&gt;
          &lt;/RelativeLayout&gt;
  
      &lt;/LinearLayout&gt;
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="35dp"
          android:paddingLeft="20dp"
          android:paddingRight="20dp"
          android:orientation="vertical"
      &gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="New Contract"
              android:textSize="22sp"
              &gt;
          &lt;/TextView&gt;
          &lt;EditText
  
              android:layout_marginTop="10dp"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="Champ One"
              android:textSize="20sp"&gt;
  
          &lt;/EditText&gt;
  
          &lt;EditText
  
              android:layout_marginTop="10dp"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:hint="Champ Two"
              android:textSize="20sp"&gt;
  
          &lt;/EditText&gt;
  
          &lt;EditText
  
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="10dp"
              android:hint="Champ Three"
              android:inputType="number"
              android:textSize="20sp"&gt;
  
          &lt;/EditText&gt;
  
          &lt;TextView
              android:layout_marginTop="10dp"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Success, Contract added, check your list now."
              android:textSize="20sp"
              android:textColor="@android:color/holo_green_dark"
              &gt;
          &lt;/TextView&gt;
  
          &lt;TextView
              android:layout_marginTop="10dp"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Error!"
              android:textSize="20sp"
              android:textColor="@android:color/holo_red_dark"
              &gt;
          &lt;/TextView&gt;
          &lt;Button android:layout_width="wrap_content"
              android:layout_marginTop="10dp" android:textSize="18sp"  android:layout_height="wrap_content" android:text="SAVE"&gt;
          &lt;/Button&gt;
          &lt;ProgressBar
              android:id="@+id/progressBar1"
              style="?android:attr/progressBarStyleLarge"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_centerVertical="true"
              android:indeterminate="true" /&gt;
  
          &lt;TextView
              android:layout_marginTop="10dp"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="You don't the right to add a contract, only a VENDEUR can do this."
              android:textSize="20sp"
              &gt;
          &lt;/TextView&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I don't see the form as I said, I see and empty page.</p>
  
  <p>Any help would be so much appreciated.</p>