- 浏览: 20427 次
- 性别:
- 来自: 北京
最新评论
文章列表
public static RequestParams getRequestParamsFromObject(Object obj) {
RequestParams params = new RequestParams();
Class classType = obj.getClass();
Field[] fields = classType.getDeclaredFields();
if (fields != null) {
int length = fields.length;
for (int i = 0; i < length; i ...
View view = View.inflate(this, R.layout.?, null);
final PopupWindow pw = new PopupWindow(view, LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT, true);
pw.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
pw.setAnimationStyle(R.style.pw_style);
pw.showAtLocation(getWi ...
public class YearMonthPicker extends DatePickerDialog {
public YearMonthPicker(Context context, int theme,
OnDateSetListener callBack, int year, int monthOfYear,
int dayOfMonth) {
super(context, theme, callBack, year, monthOfYear, dayOfMonth);
init(year, monthOfYear, dayOfMonth);
...