title: Google Glass: TextView setText not working in activity
body: <p>I am creating an <code>Immersion</code> type of app in Glass. I try to dynamically change a TextView in an <code>Activity</code>, but the program just crashes when I go to that Activity. I'd prefer not to use <code>Cards</code> since it is an immersive program.</p>
  
  <p>Any idea how to get a <code>TextView.setText</code> to work in a regular activity?</p>
  
  <p>Thanks!</p>
  
  <p><strong>Activity OnCreate Method</strong></p>
  
  <pre><code>TextView tvTest = (TextView)findViewById(R.id.testText);
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_new_checklist);
      mGestureDetector = createGestureDetector(this);
      readJson();
      tvTest.setText("testing testing");
  }
  </code></pre>
  
  <p><strong>Activity XML</strong></p>
  
  <pre><code>&lt;FrameLayout 
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:padding="40px"
  tools:context=".NewChecklistActivity" &gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="top|center_horizontal"
      android:text="@string/newChecklist"
      android:textSize="50px"
      android:textStyle="bold" /&gt;
  
  &lt;TextView
      android:id="@+id/testText"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  
  
  &lt;/FrameLayout&gt;
  </code></pre>