Documente Academic
Documente Profesional
Documente Cultură
DISEO DE LAYOUT
DESARROLLAR
//1.DEFINIR OBJETOS
EditText etclie, etprestamo;
RadioGroup rgtie;
TextView tvresultado;
MAPEAR OBJETOS
etclie = (EditText)findViewById(R.id.etcliente);
etprestamo = (EditText)findViewById(R.id.etprestamo);
rgtie = (RadioGroup)findViewById(R.id.rgtiempo);
tvresultado = (TextView)findViewById(R.id.tvresultado);
if (rgtie.getCheckedRadioButtonId()==R.id.radio1)
interes = importe * 0.2;
if (rgtie.getCheckedRadioButtonId()==R.id.radio2)
interes = importe * 0.3;
DISEO DE LAYOUT
DESARROLLAR
//1.DEFINIR OBJETOS
EditText editable;
TextView texto;
Button sorpresa;
Random random;
MAPEAR OBJETOS