TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR
Click here to load reader
-
Upload
michelleprodriguez -
Category
Education
-
view
72 -
download
1
Transcript of TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR
![Page 1: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/1.jpg)
CETis 109
Como insertar una imagen en Eclipse
Alumnos:
*Torres Tristán Cristian Leonardo
*Diana Lisbeth Nieto Linares
*Peña Rodríguez Michelle
Profa.: Margarita Romero Alvarado
![Page 2: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/2.jpg)
Aquí nombramos a nuestro emulador de aplicación
Ejemplo: fondo_de_aplicacion
![Page 3: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/3.jpg)
Después buscamos en Internet una imagen que sea «png» que mas te guste
![Page 4: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/4.jpg)
Y la guardamos y le ponemos un nombre fácil de reconocer checamos que sea una imagen png
![Page 5: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/5.jpg)
De preferencia la guardamos en el Escritorio para que la búsqueda de la imagen sea más fácil
![Page 6: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/6.jpg)
Tomamos la imagen y arrastramos en la aplicación en la carpetares>drawable-mdpi
![Page 7: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/7.jpg)
Aparecerá una ventana que preguntara si queremos agregar el archivo al proyecto y le damos en OK
![Page 8: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/8.jpg)
Aquí se guardara nuestra imagen, como dijimos aparecerá dentro de la carpeta res>drawable-mdpi
![Page 9: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/9.jpg)
Después vamos al Activity Main Agregamos android:background=«@drawable/elnombredelaimagen» a nuestro código, para que en el emulador aparezca la imagen.
![Page 10: TUTORIAL Y PRACTICA DE COMO PONER UNA IMAGEN EN LA PANTALLA DEL CELULAR](https://reader038.fdocuments.mx/reader038/viewer/2022100803/58efa2ab1a28aba66f8b456b/html5/thumbnails/10.jpg)
Regresamos a donde esta la plantilla y ya aparece la imagen de fondo para la función en nuestra aplicación