Guadalajara (Spain). Ingeniero Superior en Informática por la Universidad de Alcalá. Co-fundador y diseñador web en Ayuve. Organizador de las Tertulias Viajeras Wanderlust Guadalajara y Co-organizador de Codenares, creador de la web Senderismoguadalajara.es (nivel básico de Montañismo por la Escuela de Madrileña de Montaña) y de la app móvil Tu Huerto en Casa (www.tuhuertoencasa.net). Sígueme en twitter, soy @vjpascual.


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /homepages/41/d350061352/htdocs/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Para ello no uses un LinearLayout sino un RelativeLayout.

Para conseguir centrar un elemento en el medio de una pantalla debes colocarle el atributo siguiente al elemento que quieras centrar:

[cc lang=”java”]

android:layout_centerInParent=”true”

[/cc]

Espero que os sirva este pequeño truquito. Sencillo pero práctico.

Deberías leer  ¿Cómo se actualiza el código de seguimiento de Analytics?

Comments

  1. hola buenas noches Victor necesito ayuda, yo tengo una tablet android con los botones en la esquina queria saber si existe alguna forma de centrarlos

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *