NOMBRES:
RAMIREZ MORALES ALEXIS ALBERTO
GRADO Y GRUPO: 4° AM
ESPECIALIDAD: PROGRAMACION
MATERIA: DESARROLLA APLICACIONES MOVILES
M.C.A MARGARITA ROMERO ALVARADO
Damos clic en ‘’file’’
Despues escogemos la ventana de ‘’New’’
Escogemos el tipo de proyecto que aremos que
sera ‘’AndroidApplication Project’’
De la carpeta de FormWidgets arrastraremos el
texto medium.
Aquí cambiaremos las propiedades del texto y le
pondremos ‘’Primer Numero’’
De la carpeta text fieldsarrastraremos un abc
Le pondremos en el id ‘’@+id/num1, y en Hint pondremos
‘’Primero’’
De igual forma arrastrar otro text medium
Cambiaremos la propiedad de text y ahora le
pondremos ‘’Segundo numero’’
Igualmente arrastraremos un abc
Cambiaremos el id y le pondremos ‘’@+id/num2 y en Hint le pondremos
‘’Segundo’’
De la carpeta Form Widgetsarrastraremos la opcion de
‘’RadioGroup’’
Le pondremos en el id ‘’@+id/radio0’’ en Text le pondremos ‘’suma’’ y en
Checked ‘’false’’
De la carpeta FormWidgets arrastraremos la
opcion de ‘’Button’’
Le cambiaremos la propiedad de Text y pondremos ‘’Calcular’’ y en Onclick
‘’Calcular’’
Arrastraremos un Text Medium Le cambiaremos el id y le
pondremos ‘’@+id/res y en Hint pondremos
‘’Resultado’’
Top Related