private void setScreenElements() {
mCircularProgressBar = (HoloCircularProgressBar) view.findViewById(R.id.circular_progressBar);
mTextViewTimer = (TextView)view.findViewById(R.id.text_timer);
mButtonStart = (Button)view.findViewById(R.id.button_start);
mButtonPause = (Button)view.findViewById(R.id.button_pause);
mButtonResume = (Button)view.findViewById(R.id.button_resume);
mButtonStop = (Button)view.findViewById(R.id.button_stop);
if (mTextViewTimer != null) {
mTextViewTimer.setTypeface(Typeface.createFromAsset(getActivity().getAssets(), "fonts/Roboto-Light.ttf"));
}
updateTimerLabel((int) TimeUnit.MINUTES.toSeconds(timerDuration));
}
TimerFragment.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:Channelize
作者:
评论列表
文章目录