Example #1
0
		public void initListTasks (){
			TaskItem item1 = new TaskItem();
			TaskItem item2 = new TaskItem();
			TaskItem item3 = new TaskItem ();

			item1.Name = "Ver Tareas";
			item1.Asset = "icons/tareas.png";
			item2.Name = "Hacer una pregunta";
			item2.Asset = "icons/pregunta.png";

			item3.Name = "Salir";
			item3.Asset = "icons/salir.png";

			_currentTask.Add (item1);
			_currentTask.Add (item2);
			_currentTask.Add (item3);

			listTasks.Adapter = new TaskAdapter (this, _currentTask);
			listTasks.ItemClick+= ListTasks_ItemClick;

		}
Example #2
0
		public void initListTaskBotton()
		{
			TaskItem guiaServicios = new TaskItem ();
			TaskItem guiaSilvestre = new TaskItem ();
			TaskItem caminoCifras = new TaskItem ();
			TaskItem salir = new TaskItem ();

			guiaServicios.Name = "Guia de servicios";
			guiaSilvestre.Name = "Guia de vida silvestre";
			caminoCifras.Name = "Camino inca en cifras";
			salir.Name = "Salir";

			guiaServicios.Asset = "icons/iconservicios.png";
			guiaSilvestre.Asset = "icons/iconvidasilvestre.png";
			caminoCifras.Asset = "icons/iconcifras.png";
			salir.Asset = "icons/iconsalir.png";

			_tasksBotton.Add (guiaServicios);
			_tasksBotton.Add (guiaSilvestre);
			_tasksBotton.Add (caminoCifras);
			//_tasksBotton.Add (salir);

			_listTasksBotton.Adapter = new TaskAdapter (this, _tasksBotton);
			_listTasksBotton.ItemClick += _listTaskItemBotton_Click;


		}
Example #3
0
		public void initListTaskTop()
		{
			TaskItem home = new TaskItem ();
			TaskItem fotos = new TaskItem ();
			TaskItem rutas = new TaskItem ();

			home.Name = Resources.GetText(Resource.String.Navigation_Home);
			fotos.Name = Resources.GetText(Resource.String.Photos);
			rutas.Name = Resources.GetText(Resource.String.Navigation_Routes);

			home.Asset = "icons/iconhome.png";
			fotos.Asset = "icons/iconcamara.png";
			rutas.Asset = "icons/iconrutas.png";

			_tasksTop.Add (home);
			//_tasksTop.Add (fotos);
			_tasksTop.Add (rutas);

			_listTasksTop.Adapter = new TaskAdapter (this, _tasksTop);
			_listTasksTop.ItemClick += _listTasksItemTop_Click;




		}
Example #4
0
		public void initListTaskTop()
		{
			TaskItem home = new TaskItem ();
			TaskItem fotos = new TaskItem ();
			TaskItem rutas = new TaskItem ();

			home.Name = "Home";
			fotos.Name = "Fotos";
			rutas.Name = "Rutas";

			home.Asset = "icons/iconhome.png";
			fotos.Asset = "icons/iconcamara.png";
			rutas.Asset = "icons/iconrutas.png";

			_tasksTop.Add (home);
			//_tasksTop.Add (fotos);
			_tasksTop.Add (rutas);

			_listTasksTop.Adapter = new TaskAdapter (this, _tasksTop);
			_listTasksTop.ItemClick += _listTasksItemTop_Click;




		}
Example #5
0
		public void initListTaskBotton()
		{
			TaskItem guiaServicios = new TaskItem ();
			TaskItem guiaSilvestre = new TaskItem ();
			TaskItem caminoCifras = new TaskItem ();
			TaskItem salir = new TaskItem ();

			guiaServicios.Name = Resources.GetText(Resource.String.Navigation_Touristserviceguide);
			guiaSilvestre.Name = Resources.GetText(Resource.String.Navigation_Wildlifeidentificationguide);
			caminoCifras.Name = Resources.GetText(Resource.String.Navigation_Incatrialinnumber);
			salir.Name = Resources.GetText(Resource.String.Exit);

			guiaServicios.Asset = "icons/iconservicios.png";
			guiaSilvestre.Asset = "icons/iconvidasilvestre.png";
			caminoCifras.Asset = "icons/iconcifras.png";
			salir.Asset = "icons/iconsalir.png";

			_tasksBotton.Add (guiaServicios);
			_tasksBotton.Add (guiaSilvestre);
			_tasksBotton.Add (caminoCifras);
			//_tasksBotton.Add (salir);

			_listTasksBotton.Adapter = new TaskAdapter (this, _tasksBotton);
			_listTasksBotton.ItemClick += _listTaskItemBotton_Click;


		}