Code example for AutoCompleteTextView

Methods: setSingleLine, setLayoutParams

0
					params.addRule(RelativeLayout.LEFT_OF, idLeftOf);
				} 
				if (idBelow != -1) {
					params.addRule(RelativeLayout.BELOW, idBelow);
				} 
				text.setSingleLine(true);
				text.setLayoutParams(params);
			} 
		} 
	} 
 
	public static IListenerLocalisationUtilCallBack manageLocationManagement(Context context, GoogleAnalyticsTracker tracker, ImageView imageGps, AutoCompleteTextWithSpeech textSearch, IModelLocalisation model) {
		LocalisationManagement callBack = new LocalisationManagement(context, tracker, imageGps, textSearch, model);
		// callBack.setContext(context); 
		// callBack.setImageGps(imageGps); 
		// callBack.setChckBoxGps(chckBoxGps); 
		// callBack.setTextSearch(textSearch); 
		// callBack.setModel(model); 
		// callBack.initLocalisationManager(); 
		return callBack;