June 2017
Intermediate to advanced
232 pages
5h 4m
English
To show the layout when the Activity is started we have to attach the layout defined previously to the Activity itself:
setContentView(R.layout.main_activity);
In this way, the layout defined previously is attached to the Activity.
rBar = (SeekBar) findViewById(R.id.rColorBar);
Read now
Unlock full access