I have TextView and CheckBox inside LinearLayout. Checkbox must appear to the right of the TextView. In the Eclipse View, Checkbox appear, but when i launch app in my device checkbox disappears.

This is Eclipse view (Checkbox is the star):

![enter image description here](https://i.stack.imgur.com/csLbC.jpg)

This is part of my xml file:

```
    <RelativeLayout 
    android:id="@+id/infoinstalacion_fragment1_relative_imagen_poli"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" 
    android:layout_weight="100">

<ImageView
    android:id="@+id/infoinstalacion_fragment1_imgfoto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:scaleType="fitXY"
    android:src="@drawable/pld_alza" />

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_alignBottom="@+id/infoinstalacion_fragment1_imgfoto"
    android:background="@color/transparent">

<TextView
    android:id="@+id/infoinstalacion_fragment1_nombre_encima_de_imagen"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginLeft="5dp"
    android:paddingRight="35dp"
    android:textSize="20dp"
    android:textStyle="bold"
    android:textAllCaps="true"
    android:textColor="@color/white"
    android:lines="2"
    android:text="Esto es un polideportivo" 
    android:gravity="center_vertical"/>

            <CheckBox
    android:id="@+id/infoinstalacion_fragment1_checkbox_favorito"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:focusable="true"
    android:button="@drawable/checkbox_favorito"/>

</LinearLayout>

```

Does anyone know what the problem is?

Thank.