title: Can't get parent view from fragment
body: <p>I need to update a textview from a ListFragment that is on the same plane in the XML file as the TextView. 
  But both trys just returns null:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Override
  public void onCreate(Bundle ice)
  {
      super.onCreate(ice);
  
      ...
  
      mAdapter = new SimpleCursorAdapter(getActivity(), R.layout.entry_row, null, from, to, 0);
      setListAdapter(mAdapter);
  
      mTextView = (TextView) getActivity().findViewById(R.id.tv); // try #1
  
      mPercentView = (TextView) ((ViewGroup)getView().getParent()).findViewById(R.id.tv); //try #2
      // (not tested at the same time)
  }
  </code></pre>
  
  <p>This is the XML:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="match_parent" &gt;
  
  
  &lt;TextView
      android:id="@+id/info_log_view"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentRight="true"
      android:padding="@dimen/object_padding"
      android:textSize="24sp"
      android:textIsSelectable="true" /&gt;
  
  &lt;fragment
      android:id="@+id/view_log_fragment"
      android:name="fragment name..."
      android:layout_width="match_parent"
      android:layout_height="match_parent" 
      android:layout_below="@+id/info_log_view" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Thanks!</p>