Ejemplo n.º 1
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			// Set our view from the "main" layout resource
			SetContentView (Resource.Layout.QuizLayout);
			DbHelper db=new DbHelper(this);
			quesList=db.getAllQuestions();
			currentQ=quesList[qid];
			txtQuestion=(TextView)FindViewById(Resource.Id.textView1);
			rda=(RadioButton)FindViewById(Resource.Id.radio0);
			rdb=(RadioButton)FindViewById(Resource.Id.radio1);
			rdc=(RadioButton)FindViewById(Resource.Id.radio2);
			butNext=(Button)FindViewById(Resource.Id.button1);
			setQuestionView();
		}