Code example for Activity

Methods: getString

0
     * Change the title associated with this activity. 
     */ 
    public void setTitle(int resId) {
        if (DEBUG) Log.d(TAG, "[setTitle] resId: " + resId);
 
        setTitle(mActivity.getString(resId));
    } 
 
    /** 
     * Sets the visibility of the progress bar in the title. 
     * <p> 
     * In order for the progress bar to be shown, the feature must be requested 
     * via {@link #requestWindowFeature(int)}. 
     * 
     * @param visible Whether to show the progress bars in the title. 
     */ 
    public abstract void setProgressBarVisibility(boolean visible);
 
    /** 
     * Sets the visibility of the indeterminate progress bar in the title. 
     * <p>