package es.craftsmanship.toledo.katangapp.activities;

import android.app.Activity;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.SeekBar;
import android.widget.TextView;

/**
 * @author Cristóbal Hermida
 */
public class MainActivity extends Activity {

    private SeekBar seekBar;
    private TextView txtKatangaLabel;
    private ImageView button;
    private TextView txtradiolabel;
    private ProgressBar progressBar;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_main);

    }

}
@@ -663,9 +663,468 @@
 %0A    %7D%0A%0A
+    // A private method to help us initialize our variables.%0A    private void initializeVariables() %7B%0A%0A        // text view label%0A        txtKatangaLabel = (TextView) findViewById(R.id.title_katanga);%0A        seekBar = (SeekBar) findViewById(R.id.seekBar);%0A        txtradiolabel = (TextView)findViewById(R.id.txtradiolabel);%0A        button = (ImageView) findViewById(R.id.button);%0A        progressBar = (ProgressBar) findViewById(R.id.progressBar1);%0A%0A%0A    %7D%0A%0A
 %7D

add initializable method to initialize view elements