android-developers
[Arriba] [Todas las Listas]

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

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: Re: [android-developers] widgets overlap (Es arriba de cada cual otro)
From: Tony Cardinal <nitehrt@xxxxxxxxx>
Date: Tue, 8 Aug 2017 19:22:06 -0700 (PDT)
Delivery-date: Tue, 08 Aug 2017 22:23:23 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=UyWXjUPczFS3qxkk5LI4RfV0NKAwWXK0vHi9pGU+Cv8=; b=T8hJw52lGgNeiHph+0UlHfUfYsOii0qZGUNfV4admBCdAB7+1te5yduBjmrqaeRRi4 YW8Wj8zcN7SmA0rs9OLqrSpL2szPDf0RydVSkOrOhdk5PTMRZCddHwck7NuhWYG2n9gF BSBFCJje5PYh/Av+SYQ/LoZjLt0GkR6e5GmIhyehcNjnuSV94SwH7O4tQ8zqHwsO28Xd RJrZUQC6tm5n6yHXm7XCUgTdF00eC5xTcEAdvSAsMCYPkv7H5t5+NKzToz4Jt0Pos5zx ieRYc+B3EvvwON92aohR1RgbnyKbavPJCNwDZWIUFHwzxJ3aAiZyYL80Z8PoVZXbp+uV xF7g==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=UyWXjUPczFS3qxkk5LI4RfV0NKAwWXK0vHi9pGU+Cv8=; b=vcBq8T5qYFKEUdSW0codqe+VzzPqrNZqWKUOobYFb/ciCDeBGKjaK+woIJdYmH0DjU wbXci9wpVelbZBdJxE7fr9+nbBmuI/FlUonKt7JmPWYsI/j11Donad5Jj7lRRScURDg3 xpm5dl8Gngt+zrK1QOXogYS+NTsrIzCkdsiFCHHLVlfg75yslvLwOVSsCWWVgcpXwZ8c uFSZHG7GBxqdKqvF/Nu6XWyPXzPUBGk5oLslzF/bbzl0v2tSLMwrbHsQt6DcJ2dQPdrj DnM58P0w7d8H50zt5v/0JL1MZXtnezgd/IVdSWlva+ZVfYCNpX+j2a5k5anjUNQSYqp6 RPZQ==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CACaNmX0y=6Zg8ejmfozO5wi8YnUnZGrZW5o7LAkvxctQr3yv3w@mail.gmail.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> <CACaNmX0y=6Zg8ejmfozO5wi8YnUnZGrZW5o7LAkvxctQr3yv3w@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
*Thanks Marina !  Yo *clicked el "*infer *constraints" botón. Y trabajó. 
El Dios bendice )

En jueves, agosto 3, 2017 en 10:14:40 SOY *UTC-4, Marina *Cuello escribió:
>
> 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 <nit...@xxxxxxxxx 
> <*javascript:>> 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 <*javascript:>.
>> A correo a este grupo, envía *email a *android-d...@xxxxxxxxxxxxxxxx 
>> <*javascript:>.
>> 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/8*ac902*f4-*b677-49#uno6-*aae6-5#uno5*ffbe810*d8%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
Thanks Marina !  I clicked the "infer constraints" button. And it worked. 
God bless )

On Thursday, August 3, 2017 at 10:14:40 AM UTC-4, Marina Cuello wrote:
>
> 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 <nit...@xxxxxxxxx 
> <javascript:>> 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 <javascript:>.
>> To post to this group, send email to android-d...@xxxxxxxxxxxxxxxx 
>> <javascript:>.
>> 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/8ac902f4-b677-49a6-aae6-5a5ffbe810d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>