Friday , March 22 2019

Latest Posts

Android Screen Orientation Example


The screenOrientation is the attribute of activity element. The orientation of android activity can be portrait, landscape, sensor, unspecified etc. You need to define it in the AndroidManifest.xml file. For example: [crayon-5c952a900ef73986063015/] The common values for screenOrientation attribute are as follows: Value Description unspecified It is the default value. In ...

Read More »

Android Analog clock and Digital clock example


The android.widget.AnalogClock and android.widget.DigitalClock classes provides the functionality to display analog and digital clocks. Android analog and digital clocks are used to show time in android application. Android AnalogClock is the subclass of View class.Android DigitalClock is the subclass of TextView class. Since Android API level 17, it is deprecated. ...

Read More »