title: Layout Change Visibility
body: <p>I'm trying to develop an Augmented Reality aplication for Android using Metaio. But actually I've a problem.
   I want to make a little menu appear when the aplication recongize a marker.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical" &gt;
  
   &lt;ImageButton
      android:id="@+id/button1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentRight="true"
      android:background="@android:color/transparent"
      android:onClick="onButtonClick"
      android:contentDescription="@null"
      android:src="@drawable/cancel" /&gt;
  
  &lt;LinearLayout
      android:id="@+id/buttonBar123"
      style="@android:style/ButtonBar"
      android:layout_width="300dp"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_centerHorizontal="true"
      android:layout_marginBottom="10dp"
      android:visibility="invisible"
      android:orientation="horizontal"
      android:gravity="center"&gt;
  
      &lt;Button
          android:id="@+id/TextoButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:onClick="onTextoButtonClick"
          android:text="Texto" /&gt;
  
      &lt;Button
          android:id="@+id/ImageButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:onClick="onImagemButtonClick"
          android:text="Imagem" /&gt;
  
  
  &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>My layout is on a View and I don't know how to change the ButtonBar123 to visible in Java code. Can you help me? Thanks</p>