Ejemplo n.º 1
0
		private void setDecreaseQuantity()
		{
			mDecreaseQuantity = new CircleButton(36, 36);
			mDecreaseQuantity.setBackgroundImage("remove_circle_outline_grey600_36x36.png", "remove_circle_grey600_36x36.png");
			setPosition(mDecreaseQuantity, DECREASE_QUANTITY_X, DECREASE_QUANTITY_Y, DECREASE_QUANTITY_W, DECREASE_QUANTITY_H);
			mDecreaseQuantity.VerticalContentAlignment = VerticalAlignment.Bottom;
			mDecreaseQuantity.Click += onDecraseClick;
			canvas.Children.Add(mDecreaseQuantity);
		}
Ejemplo n.º 2
0
		private void setIncreaseQuantity()
		{
			mIncreaseQuantity = new CircleButton(35, 35);
			mIncreaseQuantity.setBackgroundImage("add_circle_outline_grey600_36x36.png", "add_circle_grey600_36x36.png");
			setPosition(mIncreaseQuantity, INCREASE_QUANTITY_X, INCREASE_QUANTITY_Y, INCREASE_QUANTITY_W, INCREASE_QUANTITY_H);
			mIncreaseQuantity.VerticalContentAlignment = VerticalAlignment.Bottom;
			mIncreaseQuantity.Click += onIncreaseClick;
			canvas.Children.Add(mIncreaseQuantity);
		}