android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] widgets overlap (Es arriba de cada cual otro)

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] widgets overlap (Es arriba de cada cual otro)
From: Marina Cuello <marina.eariel@xxxxxxxxx>
Date: Thu, 3 Aug 2017 11:05:55 -0300
Arc-authentication-results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ic9fT3zH; spf=pass (google.com: domain of marina.eariel@xxxxxxxxx designates 2a00:1450:400c:c09::22f as permitted sender) smtp.mailfrom=marina.eariel@xxxxxxxxx; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Arc-authentication-results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ic9fT3zH; spf=pass (google.com: domain of marina.eariel@xxxxxxxxx designates 2a00:1450:400c:c09::22f as permitted sender) smtp.mailfrom=marina.eariel@xxxxxxxxx; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=NJ25MQdJ2aV+gmlKbTomWb9iGnHhEkqwaINJoRdPK/Y=; b=M/SEcphgeQgGOtywZnJLEVrqsLlRUZ7HVnkODdH8b3t10g9KJCMQhYpMxWHj+ki2IZ jGNWDpKbCDC5tMuUiGecrLpmkwC1/NJtNGo1IUb1gxiNuip1RdYiaqLBkEUMsOZ/JEAU r73DyPd2s9L1QKh4fVR9Z2Y3v2XI1zKpJjwBTj1dNogPEKhnRdG2OEoEZuvpQhtRjAkd +7bHOri4CMNha3jIr/xsLBMmg7tJ0y2/eVRvYhIFjWibelkqSNTa/1E7DVcC4PY86cU1 rQNNjFYDTO5ZfuSncLGyEInRaRETokQ5beicKWxlq4CxRnCGGQWVN3FS5OzfDTkPy31B XPMA==
Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=69O4yhNd1cr1WffEq37CyIKxYcNM1QEfpDnKZKDatPY=; b=lvOSmnBtZZBSGcGD/KFN3lq/XH5TLByyVCF7sNkCpcMB6t7pZrVAl6rKfEFTskMxIS +apaZEEacfJhIlcfmYeY/NrmcVtj8JwLpF31FXtMD2IR3tHFkK8/TAO6xTl73o9yLdUq PAFfN2bUCcUbNBb2j5M02O/xft5G9cAkeXU1SFpWkCn8xYFk8ihQWK/S8vXD3a/ij0ud N09Y6kF7VuPo/XPdJQt501S6Mvf25Rd/s23CyCDCcZAC8v2yQ8tOIAOQXGeWASnsVs6p /aMyBjnvQccQJheW0/3BCqer0Nr+hnK2k+jyJe16Yu+7DuOKPAkRHae1W7gFKuUIvN5p Nh0w==
Arc-seal: i=2; a=rsa-sha256; t=1501769247; cv=pass; d=google.com; s=arc-20160816; b=HC8akrhY4x9tVYygY6cxHkvs8WPySCwAQqaI7A/7fyxi8uQn4rA26hJJ6jJ2FmInm4 O3c5wdbnpHLvxwPwEfocXLC2k3d81GFeV/AzQC69TENsDvGOAuJQAp/fPi9zS3+7/rf3 WoIvI2cZAVC1tRsNWbPj4yjk8Of0cW2I2McQxbcpKw7nTGoctjwQiSmefxUfteirhYUT jgyP1CIBTb2CocffokbYgTVtxnAPpS6t7bjfgYqYTRrD10SL5eWGCjHp75UgNJ8OsbmN qRgKH1YmlOvS295VrW3sB8Fovaf3ie3kw3fW7u3gf8OytoYvFfftLaalwwMYVtRIC+Dd Vrtg==
Arc-seal: i=1; a=rsa-sha256; t=1501769176; cv=none; d=google.com; s=arc-20160816; b=0z3dVZVnerETjK0DOJOWHTRIY5Nc0D9n2E925s/Lca2sJ0sHrrByCX4IcrumGfPObi CsIg3v1s2XSX52Slqwhh8oAM8SwAWdDdVXQrxXg9gew/G7Yv+zyaNWlbLVFnqqzPT2ZU fOJdpanWzbBx8hXSlM3Zr7HKrqaqv3536BoVrDDr7FWXROQPDcXoFDvqjBm3eQbqQi34 32yzdQqT/M1gXMn6cbn2F+Ud/d2zk1U8ouGxGi+NhNejsl5IIsBgUK2ySwdLm6sYFLWp pIOfcbP33yzF2eU22A/k1ICl/ijGJ9QixqF8lhVXpjYW4NMsG7jJu/fFwqae1u2+dcYg 7GLA==
Delivery-date: Thu, 03 Aug 2017 10:07:33 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=NJ25MQdJ2aV+gmlKbTomWb9iGnHhEkqwaINJoRdPK/Y=; b=g/YKIGiYS8nO2vjkAmZHFqrPdgumXlxwdYkoersi0jjKcb1QpwzlE922T75WLE7tWB wpzsrP2mRZEbCncZINwQuH3lEVzBGznwAmZh4F6jXGUzyY83jEsUbk25VouDnSVeidTO lKYRP/+wSZUNwskOKz9gplTlYUwxEFsoHvs44goEqegXzZ5MiroijRjb4YRXGd685wc6 GCco0ZUjL7lVMcJoH4ja7+apShEH3gEo1Gvh3l2F1Q1MCH3Ce6fj6FuK04OVloVw9N7/ wPvxjf0PW6KSJtDD7qFz+3HGEIjlsXoZQtIX0ugm56+Tq48larwQIZiiUdKUKeiSrYet FVwg==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=NJ25MQdJ2aV+gmlKbTomWb9iGnHhEkqwaINJoRdPK/Y=; b=hN+H0qu6KVTpfEFk3aHCcn2ZQb1kFk4oiP4NX4APt4VIVEkciZAYxS6pWlOHfpL6aC 30xUjkpO7QOJmEV7MBHymZMZz5dHC7qIylN61raaePe2qlv5OT3wOn558SSM/yx4LmW5 DzDp2lQ9iq5dtd3dTgA6nrjSqUmjoXiiUF7QP81ueqKpEf9fGWaCTskGecdJm+LqgiBT VjzPK5LgEDuitQDRJ1ojAtnUkEX+adfXChgnU7VbzPuwX4750LwvtM7Qm2JeubPHbueY SY1rXSZ/BriG+YlaNmA9o1OY0AnMFtAnj9O9aWLiI/DKLJPT8d3ae+1mAlXz8ubzxeCN 2pUQ==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <52044978-8634-4d62-a84c-b48383d2ed31@googlegroups.com>
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <52044978-8634-4d62-a84c-b48383d2ed31@googlegroups.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Cuándo unos inicios de propiedad con herramientas: "" lo significa trabajos únicos en el editor.
Es útil cuándo modificarás la posición o visibilidad de una vista
*programatically o quieres  utilizar diferente *color fondos para jugar
alrededor de con imágenes con transparencia. Pero no será reflejado en
vuestro *app.
Necesitas utilizar el "*Infer *constraints" opción para el editor para crear el
real *constraints.

Marina

En *Wed, *Aug 2, 2017 en 12:03 AM, Cardenal de Tony <nitehrt@xxxxxxxxx> escribió:

> hola,
>  creé un sencillo *app con 2 *checkboxes un botón y un campo de texto. Y veo todo de estos *widgets arriba de cada cual otro en la mano izquierda superior esquina
> de la pantalla cuándo corro el *app. En el diseño *tab de *android estudio,
> estos *widgets es espaciado uno arriba del otro. Qué soy yo haciendo mal?
> *Thank te Para vuestra ayuda anticipadamente. Aquí es el código:
>
> <?*xml Versión="1.0" *encoding="*utf-8"?>
> <*android.Apoyo.*constraint.*ConstraintLayout *xmlns:*android="*http://*schemas.*android.*com/*apk/*res/*android&*quot;
>     *xmlns:*app="*http://*schemas.*android.*com/*apk/*res-Coche&*quot;
>     *xmlns:herramientas="*http://*schemas.*android.*com/Herramientas&*quot;
>     *android:*layout_padre="de partido_del ancho"
>     *android:*layout_herramientas="de padre_de partido"
>     de alzada:contexto="*com.Ejemplo.me.#Uno01_05_01.*MainActivity">
>
>     <*TextView
>         *android:*layout_El Ancho="envuelve_contenido"
>         *android:*layout_la alzada="envuelve_contenido"
>         *android:texto="Hola Mundo!"
>         *app:*layout_*constraintBottom_*toBottomOf="Padre"
>         *app:*layout_*constraintLeft_*toLeftOf="padre"
>         *app:*layout_*constraintRight_*toRightOf="padre"
>         *app:*layout_*constraintTop_*toTopOf="padre" />
>
>     <*CheckBox
>         *android:*id="@+*id/*checkBox"
>         *android:*layout_el ancho="envuelve_contenido"
>         *android:*layout_la alzada="envuelve_contenido"
>         *android:texto="*CheckBox"
>         herramientas:*layout_editor_*absoluteX="32*dp"
>         herramientas:*layout_editor_*absoluteY="47*dp" />
>
>     <*CheckBox
>         *android:*id="@+*id/*checkBox2"
>         *android:*layout_el ancho="envuelve_contenido"
>         *android:*layout_la alzada="envuelve_contenido"
>         *android:texto="*CheckBox"
>         herramientas:*layout_editor_*absoluteX="32*dp"
>         herramientas:*layout_editor_*absoluteY="99*dp" />
>
>     <Botón
>         *android:*id="@+*id/botón"
>         *android:*layout_el ancho="envuelve_contenido"
>         *android:*layout_la alzada="envuelve_contenido"
>         *android:herramientas="de Botón"
>         del texto:*layout_editor_*absoluteX="48*dp"
>         herramientas:*layout_editor_*absoluteY="416*dp" />
>
>     <*TextView
>         *android:*id="@+*id/*textView"
>         *android:*layout_el ancho="envuelve_contenido"
>         *android:*layout_la alzada="envuelve_contenido"
>         *android:texto="*TextView"
>         herramientas:*layout_editor_*absoluteX="57*dp"
>         herramientas:*layout_editor_*absoluteY="292*dp" />
>
> </*android.Apoyo.*constraint.*ConstraintLayout>
>
> --
> Recibiste este mensaje porque eres *subscribed al *Google Grupos
> "*Android *Developers" grupo.
> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un
> *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
> A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
> Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
> Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/
> *msgid/*android-*developers/52044978-8634-4*d62-#uno84*c-
> *b48383*d2*ed31%40*googlegroups.*com
> <*https://Grupos.*google.*com/*d/*msgid/*android-*developers/52044978-8634-4*d62-#uno84*c-*b48383*d2*ed31%40*googlegroups.*com?*utm_Medio=*email&*utm_fuente=*footer>
> .
> Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
>

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/*CACaNmX0*y%3*D6*Zg8*ejmfozO5*wi8*YnUnZGrZW5*o7*LAkvxctQr3*yv3*w%40correo.*gmail.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
When a property starts with "tools:" it means it only works on the editor.
It's useful when you will modify the position or visibility of a view
programatically or  you want to use different color backgrounds to play
around with images with transparency. But it will not be reflected on your
app.
You need to use the "Infer constraints" option for the editor to create the
real constraints.

Marina

On Wed, Aug 2, 2017 at 12:03 AM, Tony Cardinal <nitehrt@xxxxxxxxx> wrote:

> hello,
>  I created a simple app with 2 checkboxes a button and a text field. And I
> see all of these widgets on top of each other on the upper left hand corner
> of the screen when I run the app. In the design tab of android studio,
> these widgets are spaced one on top of the other. What am I doing wrong?
> Thank you for your help in advance. Here is the code:
>
> <?xml version="1.0" encoding="utf-8"?>
> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android";
>     xmlns:app="http://schemas.android.com/apk/res-auto";
>     xmlns:tools="http://schemas.android.com/tools";
>     android:layout_width="match_parent"
>     android:layout_height="match_parent"
>     tools:context="com.example.me.a01_05_01.MainActivity">
>
>     <TextView
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:text="Hello World!"
>         app:layout_constraintBottom_toBottomOf="parent"
>         app:layout_constraintLeft_toLeftOf="parent"
>         app:layout_constraintRight_toRightOf="parent"
>         app:layout_constraintTop_toTopOf="parent" />
>
>     <CheckBox
>         android:id="@+id/checkBox"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:text="CheckBox"
>         tools:layout_editor_absoluteX="32dp"
>         tools:layout_editor_absoluteY="47dp" />
>
>     <CheckBox
>         android:id="@+id/checkBox2"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:text="CheckBox"
>         tools:layout_editor_absoluteX="32dp"
>         tools:layout_editor_absoluteY="99dp" />
>
>     <Button
>         android:id="@+id/button"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:text="Button"
>         tools:layout_editor_absoluteX="48dp"
>         tools:layout_editor_absoluteY="416dp" />
>
>     <TextView
>         android:id="@+id/textView"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:text="TextView"
>         tools:layout_editor_absoluteX="57dp"
>         tools:layout_editor_absoluteY="292dp" />
>
> </android.support.constraint.ConstraintLayout>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
> To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/52044978-8634-4d62-a84c-
> b48383d2ed31%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/52044978-8634-4d62-a84c-b48383d2ed31%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CACaNmX0y%3D6Zg8ejmfozO5wi8YnUnZGrZW5o7LAkvxctQr3yv3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>