English | Site Directory

Android - An Open Handset Alliance Project

android.widget
public class

android.widget.DigitalClock

java.lang.Object
android.view.View Drawable.Callback KeyEvent.Callback
android.widget.TextView
android.widget.DigitalClock

Like AnalogClock, but digital. Shows seconds. FIXME: implement separate views for hours/minutes/seconds, so proportional fonts don't shake rendering

Summary

XML Attributes inherited from class android.widget.TextView
XML Attributes inherited from class android.view.View
Constants inherited from class android.view.View
Fields inherited from class android.view.View

Public Constructors

          DigitalClock(Context context)
          DigitalClock(Context context, AttributeSet attrs, Map inflateParams)

Protected Methods

        void  onAttachedToWindow()
This is called when the view is attached to a window.
        void  onDetachedFromWindow()
This is called when the view is detached from a window.
Methods inherited from class android.widget.TextView