Code example for RelativeLayout

Methods: setVisibility

0
		this.handler = new Handler();
		this.clearTextRunnable = new Runnable() {
			@Override 
			public void run() { 
				service_update_area.setText("");
				service_update_area_container.setVisibility(View.GONE);
			} 
		}; 
	} 
 
	public void unregisterReceiver() { 
		this.context.unregisterReceiver(this);
		this.handler.removeCallbacks(this.clearTextRunnable);
	} 
 
	@Override 
	public void onReceive(final Context context, final Intent intent) {
		if (null == intent) {
			if (null != this.service_update_area_container) {
				this.service_update_area_container.setVisibility(View.GONE);
			}