Code example for EditText

Methods: setHint

0
		this.additionalInfoText = infoText;
		myHandler.post(new Runnable() {
			@Override 
			public void run() { 
				if (editText != null) {
					editText.setHint(additionalInfoText);
				} 
			} 
		}); 
	} 
 
	@Override 
	public View getView(Context context) {
		LinearLayout container = new LinearLayout(context);
		container.setPadding(DEFAULT_PADDING, DEFAULT_PADDING, DEFAULT_PADDING,
				DEFAULT_PADDING); 
 
		container.setGravity(Gravity.CENTER_VERTICAL);
		LayoutParams p = new LinearLayout.LayoutParams(
				LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT,
				weightOfDescription);