tv1.setText(w);
ViewGroup.LayoutParams text2Lp = new LinearLayout.LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT);
TextView tv2 = new TextView(this);
<BUG>tv2.setGravity(Gravity.RIGHT);
</BUG>
tv2.setLayoutParams(text2Lp);
tv2.setTextSize(16);
tv2.setTextColor(0xff000000);

tv1.setText(w);
ViewGroup.LayoutParams text2Lp = new LinearLayout.LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT);
TextView tv2 = new TextView(this);
tv2.setGravity(Gravity.END);
tv2.setLayoutParams(text2Lp);
tv2.setTextSize(16);
tv2.setTextColor(0xff000000);
