下面列出了怎么用android.widget.DigitalClock的API类实例代码及写法,或者点击链接到github查看源代码。
private void mFindViewById() {
mCenterLayout = (CenterLayout) findViewById(R.id.vitamio_centerLayout);
mVideoView = (VideoView) findViewById(R.id.vitamio_videoview);
mLoadingView = findViewById(R.id.player_loading_layout);
mLoadingInfo = (TextView) findViewById(R.id.loading_text);
mVideoCenter = findViewById(R.id.player_center_iv);
mVideoBottom = findViewById(R.id.player_bottom_layout);
mVideoPlayPause = (ImageView) findViewById(R.id.player_play_iv);
mCurrentTime = (TextView) findViewById(R.id.player_current_time);
mTotalTime = (TextView) findViewById(R.id.player_total_time);
mSeekBar = (SeekBar) findViewById(R.id.player_seekbar);
mVideoShot = (ImageView) findViewById(R.id.video_shot);
mOrientationChange = (ImageView) findViewById(R.id.orientation_change);
mVideoTop = findViewById(R.id.player_top_bar);
mBack = findViewById(R.id.player_back);
mName = (TextView) findViewById(R.id.player_name);
mDLNA = findViewById(R.id.dlna_devices);
mDigitalClock = (DigitalClock) findViewById(R.id.clock);
mBatteryView = (BatteryView) findViewById(R.id.battery_view);
}
public static BaseDSL.ViewClassResult digitalClock() {
return BaseDSL.v(DigitalClock.class);
}
public static Void digitalClock(Anvil.Renderable r) {
return BaseDSL.v(DigitalClock.class, r);
}
public static BaseDSL.ViewClassResult digitalClock() {
return BaseDSL.v(DigitalClock.class);
}