<troll-lv10>Rudson Lima</troll-lv10> kkkk "works for me"Em 8 de julho de 2013 11:30, Rudson Lima <rudsonlive@gmail.com> escreveu:
E sobre a oferta (Works for me) se nos benefícios tiver auxilio gato e cachorro eu topo lllllkkkkkkkkkkkkkkkkkkkkQue bom que ajudei.. Precisando tamo junto \o/é só pratica e criatividade...No seu caso vc usou o FrameLayout como base mas da pra fazer a mesma coisa com qualquer outro layoutEu sempre uso a notação dp (density-independent-pixel), jamais uso px (pixels)Agora o consulta de componentes que deve torna isso mas distintos em cada API..margintop é margintop em qualquer API..Works for me? kkkkkkkkkkkkkkkkkkkk boa \o/Daniel não tenho certeza mas acredito que não tenha nenhuma diferença
dessa forma o Android é que faz todo o trabalho pra mim...
Em 8 de julho de 2013 11:18, Daniel Lima <danielhenriquelima@gmail.com> escreveu:
Rudon, matou a pau meu velho!!!!!Works for me....rsrsrsrsCara, não conhecia essa combinação android:layout_gravity="left|center_vertical"Isso poderia ter me poupado muita dor de cabeça no passado......rsrsrsAgora uma dúvida....o marginTop não tem o mesmo comportamento nas versões anteriores do Android?
Em segunda-feira, 8 de julho de 2013 11h07min15s UTC-3, Rudson Lima escreveu:Espero que ajude...Obs: Ainda da pra diminuir ainda mais seu layout...Em 8 de julho de 2013 11:00, Felipe Aron <felip...@gmail.com> escreveu:
Colocando "gravity=center" para os controles - Button e EditText também não funciona?
Eu utilizo sempre Relative e Linear layout. Não cheguei a ter problemas desse tipo.Em 8 de julho de 2013 10:53, Rudson Lima <rudso...@gmail.com> escreveu:
Troca o"dip" por "dp"
Em 8 de julho de 2013 10:50, Daniel Lima <danielhen...@gmail.com> escreveu:
Fala Felipe!!!Obrigado pela dica, mas não funcionou.... :/
Em segunda-feira, 8 de julho de 2013 10h45min10s UTC-3, Felipe Aron escreveu:Coloque "android:gravity=center" para o seu LinearLayout.Em 8 de julho de 2013 10:40, Daniel Lima <danielhen...@gmail.com> escreveu:
Alguém poderia me explicar o que pode ser este comportamento abaixo?
O xml abaixo, gera dois layouts distintos dependendo da API. Na API 17, exibe normalmente, ou seja, os campos de login centralizados. Na API10, o mesmo xml exibe os campos no canto superior esquerdo.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#005500">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dip"
android:layout_marginRight="15dip"
android:layout_marginTop="200dip"
android:orientation="vertical" >
<EditText
android:id="@+id/et_nome_login"
android:layout_width="match_parent"
android:layout_height="40dip"
android:paddingRight="15dip"
android:paddingLeft="15dip"
android:inputType="text"
android:nextFocusDown="@+id/et_senha_login"
android:background="@drawable/bg_login_name"/>
<EditText
android:id="@+id/et_senha_login"
android:layout_width="match_parent"
android:layout_height="40dip"
android:paddingRight="15dip"
android:paddingLeft="15dip"
android:inputType="textPassword"
android:background="@drawable/bg_login_senha"/>
<ImageButton
android:id="@+id/ib_login"
android:layout_width="match_parent"
android:layout_height="50dip"
android:layout_marginTop="20dip"
android:background="@drawable/btn_entrar"/>
</LinearLayout>
<FrameLayout
android:id="@+id/progress_login"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#AA000000"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:visibility="gone" >
<ProgressBar
android:layout_width="50dp"
android:layout_height="50dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_gravity="center" />
</FrameLayout>
</FrameLayout>
Vejam as imagens com os comportamentos registrados.
Desde já agradeço muitíssimo!!!!!!To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
----
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
----
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário