private void showResult(string text, int index) { ButtonLayout largeLayout = this.largeFont_buttonLayouts[index]; largeLayout.setText(text); this.largeFont_autocomplete_gridLayout.PutLayout(largeLayout, 0, index); ButtonLayout smallLayout = this.smallFont_buttonLayouts[index]; smallLayout.setText(text); this.smallFont_autocomplete_gridLayout.PutLayout(smallLayout, 0, index); }