Hi,
I'm trying to put a checkbox at right of a imageview in the center but
allways put the checkbox at left of the imageview.

Mi layout is:

..........
...........
                    <ImageView
                        android:id="@+id/img"
                        android:layout_width="150px"
                        android:layout_height="wrap_content"
                        android:layout_below="@id/descripcion"
                        android:scaleType="fitXY"
                         />
                    <Button android:id="@+id/enviar"
                    android:text="ENVIAR"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_toRightOf="@id/img"
                    android:layout_below="@id/descripcion"
                    />
                    <TextView android:id="@+id/etiqueta3"
            android:text="Forzar Apagado de maquina"
            android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_toRightOf="@id/img"
                    android:layout_below="@id/enviar"
                        android:clickable="false" android:editable="false"
android:gravity="center" android:textStyle="bold" />
                    <CheckBox android:id="@+id/apagado"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_toRightOf="@id/img"
                    android:layout_gravity="center"
                    android:layout_below="@id/etiqueta3"
                    />
</RelativeLayout>

Could you help me please?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to