public void handleMealInfoLayout (LinearLayout mealInfo, int width, int height, LinearLayout.LayoutParams mealInfoLL, int count, JsonValue json) { mealInfo.Orientation = Orientation.Horizontal; mealInfo.SetMinimumWidth (25); mealInfo.SetMinimumHeight (25); mealInfoLL.SetMargins (5, 5, 5, 5); mealInfo.LayoutParameters = mealInfoLL; mealInfo.Id = count * 20 + 7; }