本文整理汇总了Java中android.widget.DigitalClock类的典型用法代码示例。如果您正苦于以下问题:Java DigitalClock类的具体用法?Java DigitalClock怎么用?Java DigitalClock使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DigitalClock类属于android.widget包,在下文中一共展示了DigitalClock类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: mFindViewById
import android.widget.DigitalClock; //导入依赖的package包/类
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);
}
开发者ID:hezhubo,项目名称:HPlayer,代码行数:21,代码来源:PlayerActivity.java
示例2: defineGUI
import android.widget.DigitalClock; //导入依赖的package包/类
@SuppressLint("CutPasteId")
private void defineGUI() {
weatherLayOut = (RelativeLayout) findViewById(R.id.weatherContainer);
rssTV = (TextView) findViewById(R.id.rssTV);
weatherTV = (TextView) findViewById(R.id.weatherTV);
wv = (WebView) findViewById(R.id.webView1);
forecastTV = (TextView) findViewById(R.id.forecastTV);
iv = (ImageView) findViewById(R.id.imageView1);
iv2 = (ImageView) findViewById(R.id.imageView2);
iv3 = (ImageView) findViewById(R.id.weatherIV);
digClock = (DigitalClock) findViewById(R.id.digitalClock);
}
开发者ID:MelonSmasher,项目名称:AndrosignClient,代码行数:13,代码来源:Display.java
注:本文中的android.widget.DigitalClock类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论