IT. Expert System.

Android Reference

ProgressDialog


android.app

Class ProgressDialog

    • Field Detail

      • STYLE_SPINNER

        public static final int STYLE_SPINNER
        Creates a ProgressDialog with a circular, spinning progress bar. This is the default.
        See Also:
        Constant Field Values
      • STYLE_HORIZONTAL

        public static final int STYLE_HORIZONTAL
        Creates a ProgressDialog with a horizontal progress bar.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProgressDialog

        public ProgressDialog(Context context)
      • ProgressDialog

        public ProgressDialog(Context context,
                      int theme)
    • Method Detail

      • onStart

        public void onStart()
        Description copied from class: Dialog
        Called when the dialog is starting.
        Overrides:
        onStart in class Dialog
      • onStop

        protected void onStop()
        Description copied from class: Dialog
        Called to tell you that you're stopping.
        Overrides:
        onStop in class Dialog
      • setProgress

        public void setProgress(int value)
      • setSecondaryProgress

        public void setSecondaryProgress(int secondaryProgress)
      • getProgress

        public int getProgress()
      • getSecondaryProgress

        public int getSecondaryProgress()
      • getMax

        public int getMax()
      • setMax

        public void setMax(int max)
      • incrementProgressBy

        public void incrementProgressBy(int diff)
      • incrementSecondaryProgressBy

        public void incrementSecondaryProgressBy(int diff)
      • setProgressDrawable

        public void setProgressDrawable(Drawable d)
      • setIndeterminateDrawable

        public void setIndeterminateDrawable(Drawable d)
      • setIndeterminate

        public void setIndeterminate(boolean indeterminate)
      • isIndeterminate

        public boolean isIndeterminate()
      • setProgressStyle

        public void setProgressStyle(int style)
      • setProgressNumberFormat

        public void setProgressNumberFormat(String format)
        Change the format of the small text showing current and maximum units of progress. The default is "%1d/%2d". Should not be called during the number is progressing.
        Parameters:
        format - A string passed to String.format(); use "%1d" for the current number and "%2d" for the maximum. If null, nothing will be shown.
      • setProgressPercentFormat

        public void setProgressPercentFormat(NumberFormat format)
        Change the format of the small text showing the percentage of progress. The default is NumberFormat.getPercentageInstnace(). Should not be called during the number is progressing.
        Parameters:
        format - An instance of a NumberFormat to generate the percentage text. If null, nothing will be shown.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1487 / . Delta: 0.02146 с