Android - Progress Circle Tutorial
The easiest way to make a progress circle is using through a class called ProgressDialog. The loading bar can also be made through that class. The only logical difference between bar and circle is , that the former is used when you know the total time for waiting for a particular task whereas the later is used when you don't know the waiting time In order to this , you need to instantiate an object of this class. Its syntax is. ProgressDialog progress = new ProgressDialog ( this ); Now you can set some properties of this dialog. Such as , its style,its text e.t.c progress . setMessage ( "Downloading Music :) " ); progress . setProgressStyle ( ProgressDialog . STYLE_SPINNER ); progress . setIndeterminate ( true ); Apart from these methods, there are other methods that are provided by the ProgressDialog class Sr.No description 1 getMax() This methods returns the maximum value of the progress 2 incrementProgressBy(int diff) This method increment the pro...