private void PressMotive(short motive) { ReasonId = motive; switch (motive) { case 5: Medidas.SetBackgroundResource(Resource.Drawable.ButtonPresses); Clausurado.SetBackgroundResource(Resource.Drawable.Blue_Button); Arrendamiento.SetBackgroundResource(Resource.Drawable.Blue_Button); Arte.SetBackgroundResource(Resource.Drawable.Blue_Button); Otros.SetBackgroundResource(Resource.Drawable.Blue_Button); break; case 6: Medidas.SetBackgroundResource(Resource.Drawable.Blue_Button); Clausurado.SetBackgroundResource(Resource.Drawable.ButtonPresses); Arrendamiento.SetBackgroundResource(Resource.Drawable.Blue_Button); Arte.SetBackgroundResource(Resource.Drawable.Blue_Button); Otros.SetBackgroundResource(Resource.Drawable.Blue_Button); break; case 7: Medidas.SetBackgroundResource(Resource.Drawable.Blue_Button); Clausurado.SetBackgroundResource(Resource.Drawable.Blue_Button); Arrendamiento.SetBackgroundResource(Resource.Drawable.ButtonPresses); Arte.SetBackgroundResource(Resource.Drawable.Blue_Button); Otros.SetBackgroundResource(Resource.Drawable.Blue_Button); break; case 8: Medidas.SetBackgroundResource(Resource.Drawable.Blue_Button); Clausurado.SetBackgroundResource(Resource.Drawable.Blue_Button); Arrendamiento.SetBackgroundResource(Resource.Drawable.Blue_Button); Arte.SetBackgroundResource(Resource.Drawable.ButtonPresses); Otros.SetBackgroundResource(Resource.Drawable.Blue_Button); break; case 9: Medidas.SetBackgroundResource(Resource.Drawable.Blue_Button); Clausurado.SetBackgroundResource(Resource.Drawable.Blue_Button); Arrendamiento.SetBackgroundResource(Resource.Drawable.Blue_Button); Arte.SetBackgroundResource(Resource.Drawable.Blue_Button); Otros.SetBackgroundResource(Resource.Drawable.ButtonPresses); break; } }