Java Code Examples for android.support.v7.app.AppCompatDelegate#create()

The following examples show how to use android.support.v7.app.AppCompatDelegate#create() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SettingActivity.java    From Rey-MusicPlayer with Apache License 2.0 5 votes vote down vote up
/**
 * This is being used to add toolbar options into the activity which is not available
 * by default for preferenceActivity
 */

private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 2
Source File: SettingsActivity.java    From android-periodic-table with GNU General Public License v3.0 5 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }

    return mDelegate;
}
 
Example 3
Source File: AppCompatPreferenceActivity.java    From privacy-friendly-shopping-list with Apache License 2.0 5 votes vote down vote up
private AppCompatDelegate getDelegate()
{
    if ( mDelegate == null )
    {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 4
Source File: AppCompatPreferenceActivity.java    From android-auto-call-recorder with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 5
Source File: AppCompatPreferenceActivity.java    From DataLogger with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 6
Source File: AppCompatPreferenceActivity.java    From WiFiKeyShare with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 7
Source File: AppCompatPreferenceActivity.java    From Lucid-Browser with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 8
Source File: AppCompatPreferenceActivity.java    From java-n-IDE-for-Android with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 9
Source File: AppCompatPreferenceActivity.java    From privacy-friendly-qr-scanner with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 10
Source File: AppCompatPreferenceActivity.java    From Doze-Settings-Editor with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 11
Source File: AppCompatPreferenceActivity.java    From good-weather with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 12
Source File: AppCompatPreferenceActivity.java    From Kandroid with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 13
Source File: AppCompatPreferenceActivity.java    From google-authenticator-android with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
  if (delegate == null) {
    delegate = AppCompatDelegate.create(this, null);
  }
  return delegate;
}
 
Example 14
Source File: AppCompatPreferenceActivity.java    From identity-samples with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 15
Source File: AppCompatSettingsActivity.java    From nitroshare-android with MIT License 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 16
Source File: AppCompatPreferenceActivity.java    From Acastus with GNU Lesser General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 17
Source File: AppCompatPreferenceActivity.java    From homeDash with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 18
Source File: SettingsActivity.java    From PKUCourses with GNU General Public License v3.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 19
Source File: AppCompatPreferenceActivity.java    From Paddle-Lite-Demo with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}
 
Example 20
Source File: AppCompatPreferenceActivity.java    From RairDemo with Apache License 2.0 4 votes vote down vote up
private AppCompatDelegate getDelegate() {
    if (mDelegate == null) {
        mDelegate = AppCompatDelegate.create(this, null);
    }
    return mDelegate;
}