wear/src/main/java/drost_stein/fbg/hsbo/de/urbantrackingapp/WearMainActivity.java
private void updateDisplay() {
        if (isAmbient()) {
            mContainerView.setBackgroundColor(getResources().getColor(android.R.color.black));
            mClockView.setVisibility(View.VISIBLE);
            mClockView.setText(AMBIENT_DATE_FORMAT.format(new Date()));
        } else {
            mContainerView.setBackgroundColor(getResources().getColor(R.color.background));
            mClockView.setVisibility(View.GONE);
        }
    }
/**
     * Adjusts the clock view and the container background color in case of ambiend mode.
     */
Adjusts the clock view and the container background color in case of ambiend mode.
Adjusts the clock view and the container background color in case of ambiend mode .
private void updateDisplay() {
        if (isAmbient()) {
            mContainerView.setBackgroundColor(getResources().getColor(android.R.color.black));
            mClockView.setVisibility(View.VISIBLE);
            mClockView.setText(AMBIENT_DATE_FORMAT.format(new Date()));
        } else {
            mContainerView.setBackgroundColor(getResources().getColor(R.color.background));
            mClockView.setVisibility(View.GONE);
        }
    }
private void updateDisplay ( ) { if ( isAmbient ( ) ) { mContainerView . setBackgroundColor ( getResources ( ) . getColor ( android . R . color . black ) ) ; mClockView . setVisibility ( View . VISIBLE ) ; mClockView . setText ( AMBIENT_DATE_FORMAT . format ( new Date ( ) ) ) ; } else { mContainerView . setBackgroundColor ( getResources ( ) . getColor ( R . color . background ) ) ; mClockView . setVisibility ( View . GONE ) ; } }
Adjusts the clock view and the container background color in case of ambiend mode.
Adjusts the clock view and the container background color in case of ambiend mode .