setContentView(R.layout.main);
testResult = (TextSwitcher) findViewById(R.id.text_result);
LayoutInflater inflater = LayoutInflater.from(this);
View v0 = inflater.inflate(R.layout.text_view, null);
View v1 = inflater.inflate(R.layout.text_view, null);
LayoutParams layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
testResult.addView(v0, 0, layoutParams);
testResult.addView(v1, 1, layoutParams);
testResult.setText("WARNING, before calling any test make sure server.py is running !!!");