multiautocompletetextview是支持分词的
参考:http://blog.csdn.net/shencaifeixia1/article/details/6882798
tv.setLayoutParams(new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.FILL_PARENT,
LinearLayout.LayoutParams.FILL_PARENT,weight
));
设置文本居中:
android:gravity="center"
参考1: http://www.eoeandroid.com/thread-23765-1-1.html