Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dapm:laboratoare:02_2 [2021/03/28 12:44]
ioana_maria.culic [Interacting with the interface]
dapm:laboratoare:02_2 [2021/03/28 12:51] (current)
ioana_maria.culic [Exercices]
Line 74: Line 74:
 i.setImageResource(R.drawable.image); ​ i.setImageResource(R.drawable.image); ​
 </​code>​ </​code>​
 +
 +=====Exercices=====
 +  - Create an application that displays 3 gray buttons, one next to the other, each having one centered text representing one color: Red, Green, Blue.
 +  - Under the 3 buttons place the text ''​Gray''​ and when one of the buttons is clicked, change the text to the color written on the pressed button.
 +  - Change the application behavior so when one of the buttons is pressed, it also changes the color according to the text written on it.
 +  - Create a new application that contains a form for a student that needs to register for an extra-curricular course. The student needs to insert the following information:​ Name, Birthdate, Faculty, Name of the course to enroll in. When a submit button is pressed, all the information will be displayed using a ''​Toast''​.
 +**BONUS**
 +  - Change the form so the student can choose the course from a ''​Spinner''​.
dapm/laboratoare/02_2.1616924654.txt.gz ยท Last modified: 2021/03/28 12:44 by ioana_maria.culic
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0