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); }
@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); }