title: How to get the previous or next view
body: <p>how can I get the previous view(TextView) of the SlideButton view, and the next view of the SlideButton view.</p>
  
  <p>The SlideButton view with the id "remotelight". I can get the SlideButton view with the method "findViewById".
  so after I get the SlideButton View, how can I get the previous view and the next view ,without the help of "findViewById" method.</p>
  
  <p>thanks so much.</p>
  
  <p>below is a part of layout xml:</p>
  
  <pre><code>&lt;TableRow
      android:id="@+id/tableRow1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="" /&gt;
  
      &lt;com.ivn.SlideButton
          android:id="@+id/remotelight"
          android:layout_width="100dp"
          android:layout_height="50dp" /&gt;
  
  
      &lt;TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="" /&gt;
  
  &lt;/TableRow&gt;
  </code></pre>