Пример #1
0
 public void initIndeterminateProgress() {
   mIndeterminateProgressView = new IcsProgressBar(mContext, null, 0, mIndeterminateProgressStyle);
   mIndeterminateProgressView.setId(R.id.abs__progress_circular);
   addView(mIndeterminateProgressView);
 }
Пример #2
0
 public void initProgress() {
   mProgressView = new IcsProgressBar(mContext, null, 0, mProgressStyle);
   mProgressView.setId(R.id.abs__progress_horizontal);
   mProgressView.setMax(10000);
   addView(mProgressView);
 }