Java Code Examples for skin.support.SkinCompatManager#SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN

The following examples show how to use skin.support.SkinCompatManager#SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN . 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: PersonalFragment.java    From DanDanPlayForAndroid with MIT License 5 votes vote down vote up
/**
 * 是否已换肤
 */
private boolean isLoadedSkin() {
    switch (SkinPreference.getInstance().getSkinStrategy()) {
        case SkinCompatManager.SKIN_LOADER_STRATEGY_ASSETS:
        case SkinCompatManager.SKIN_LOADER_STRATEGY_BUILD_IN:
        case SkinCompatManager.SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN:
            return true;
        case SkinCompatManager.SKIN_LOADER_STRATEGY_NONE:
        default:
            return false;
    }
}
 
Example 2
Source File: SkinPrefixBuildInLoader.java    From Android-skin-support with MIT License 4 votes vote down vote up
@Override
public int getType() {
    return SkinCompatManager.SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN;
}
 
Example 3
Source File: SkinPrefixBuildInLoader.java    From Android-skin-support with MIT License 4 votes vote down vote up
@Override
public int getType() {
    return SkinCompatManager.SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN;
}
 
Example 4
Source File: SkinPrefixBuildInLoader.java    From Android-skin-support with MIT License 4 votes vote down vote up
@Override
public int getType() {
    return SkinCompatManager.SKIN_LOADER_STRATEGY_PREFIX_BUILD_IN;
}