使用 View newWidget = new RatingBar(appContext);
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT);
layoutParams.gravity = Gravity.CENTER_HORIZONTAL;
newWidget.setLayoutParams(layoutParams);
((RatingBar) newWidget).setStepSize(1.0f);
文件上传。
mpxj~, .mpp
错误代码:
net.sf.mpxj.mpp.MPPReader called -> read(InputStream is)
错误文件: rtfparserkit
mpxj错误提示: http://sourceforge.net/p/mpxj/bugs/289/
帮助〜
ProjectReader reader = new MPPReader ();
ProjectFile project;
try {
project = reader.read(uploadFile.getInputStream());
答案 0 :(得分:0)
此问题将在下一版本的MPXJ(5.1.19或更高版本)中修复