Programa3
-
Upload
lupitasanchezsa -
Category
Education
-
view
137 -
download
2
Transcript of Programa3
![Page 1: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/1.jpg)
Programa 3Eclipse
![Page 2: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/2.jpg)
Cetís 109
Nombre: Guadalupe Santos Sánchez.
Grado y grupo: 4° Bm
Especialidad: Programación.
Maestra: MCA Margarita Romero Alvarado.
Submodulo II: Desarrolla Aplicaciones Móviles
![Page 3: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/3.jpg)
Modificamos donde dice «Text» le
cambiaremos lo que dice por «Dame el
sueldo»
En el espacio del Id debe decir: @+id/textView1
Y así debe de quedar nuestra
pantalla
![Page 4: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/4.jpg)
Modificamos donde dice «Hint» le agregaremos «sueldo»
En el espacio del Id debe decir: @+id/sueldo
Y así debe de quedar nuestra pantalla
![Page 5: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/5.jpg)
En el espacio del Id debe decir: @+id/button1
Modificamos donde dice «Text» le agregaremos
«calcular»
En «On Click» agregaremos
«calcular»
Así debe quedar nuestra pantalla
![Page 6: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/6.jpg)
En el espacio del Id debe decir: @+id/textView2
Modificamos donde dice «Text» le agregaremos «ISPT 16%»
Así debe quedar nuestra pantalla
![Page 7: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/7.jpg)
Modificamos donde dice «Hint» le agregaremos «ISPT 16%»
En el espacio del Id debe decir: @+id/ispt
Así debe quedar nuestra pantalla
![Page 8: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/8.jpg)
Modificamos donde dice «Text» le agregaremos «Salario Total»
En el espacio del Id debe decir: @+id/textView3
Así debe quedar nuestra pantalla
![Page 9: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/9.jpg)
Modificamos donde dice «Hint» le agregaremos «Salario
Total=Sueldo-ISPT»
En el espacio del Id debe decir: @+id/salario
Así debe quedar nuestra pantalla
![Page 10: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/10.jpg)
Esta es la codificación del Programa a continuación
mostraremos lo que se le agrega ala codificación
![Page 11: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/11.jpg)
Esto es lo que se le agrega ala codificación
![Page 12: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/12.jpg)
Y así queda
nuestra pantalla ya
termina
![Page 13: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/13.jpg)
Comentario Personal
Es muy divertido porque podemos crear pantallas y jugar con los botones y ver como queda ya
terminada
![Page 14: Programa3](https://reader036.fdocumento.com/reader036/viewer/2022081519/55c71ab2bb61eb10758b469d/html5/thumbnails/14.jpg)
Bibliografías
Todo lo saque del programa Eclipse.exe y con la explicación de la maestra