当前位置: 首页>>代码示例>>Java>>正文


Java BreadCrumber类代码示例

本文整理汇总了Java中com.twofortyfouram.locale.BreadCrumber的典型用法代码示例。如果您正苦于以下问题:Java BreadCrumber类的具体用法?Java BreadCrumber怎么用?Java BreadCrumber使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BreadCrumber类属于com.twofortyfouram.locale包,在下文中一共展示了BreadCrumber类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
    {
        setupTitleApi11();
    }
    else
    {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                                                 getString(R.string.plugin_name)));
    }
}
 
开发者ID:NightscoutFoundation,项目名称:xDrip,代码行数:16,代码来源:AbstractPluginActivity.java

示例2: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        setupTitleApi11();
    } else {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(),
                getIntent(), getString(R.string.app_name)));
    }
}
 
开发者ID:Dnet3,项目名称:CustomAndroidOneSheeld,代码行数:12,代码来源:AbstractPluginActivity.java

示例3: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        setupTitleApi11();
    } else {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                getString(R.string.souliss_app_name)));
    }
}
 
开发者ID:souliss,项目名称:soulissapp,代码行数:12,代码来源:AbstractPluginActivity.java

示例4: assertTitle

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
/**
 * Asserts the Activity title equals expected values.
 */
private void assertTitle() {
    final CharSequence expected = BreadCrumber.generateBreadcrumb(mTargetContext, getActivity().getIntent(), mTargetContext.getString(R.string.souliss_app_name));
    final CharSequence actual = Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB ? getTitleHoneycomb()
            : getActivity().getTitle();

    assertEquals(expected, actual);
}
 
开发者ID:souliss,项目名称:soulissapp,代码行数:11,代码来源:TaskerEditActivityTest.java

示例5: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        setupTitleApi11();
    } else {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                getString(R.string.powerswitch_plugin_name)));
    }
}
 
开发者ID:Power-Switch,项目名称:PowerSwitch_Android,代码行数:12,代码来源:AbstractPluginActivity.java

示例6: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        setupTitleApi11();
    } else {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                getString(R.string.app_name)));
    }
}
 
开发者ID:wardellbagby,项目名称:Sensor-Disabler,代码行数:12,代码来源:AbstractPluginActivity.java

示例7: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
    {
        setupTitleApi11();
    }
    else
    {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                                                 getString(R.string.app_name)));
    }
}
 
开发者ID:joschi70,项目名称:AndroidPirateBox,代码行数:16,代码来源:AbstractPluginActivity.java

示例8: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);

	if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
		setupTitleApi11();
	} else {
		setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(), getString(R.string.app_name)));
	}
}
 
开发者ID:mikefero,项目名称:DismissAlarmTaskerPlugin,代码行数:11,代码来源:AbstractPluginActivity.java

示例9: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
    {
        setupTitleApi11();
    }
    else
    {
        setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                getString(R.string.plugin_name)));
    }
}
 
开发者ID:ajhodges,项目名称:WifiCallingControls,代码行数:16,代码来源:AbstractPluginActivity.java

示例10: onCreate

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@Override
protected void onCreate(final Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
    localeBundle = getIntent().getBundleExtra(com.twofortyfouram.locale.Intent.EXTRA_BUNDLE);

    if (getIntent().getAction() == "com.twofortyfouram.locale.intent.action.EDIT_SETTING") {
        mode = Mode.LOCALE;
        if (Constants.IS_LOGGABLE) {
            Log.i(Constants.LOG_TAG, "Activity mode is set to locale");
        }
    } else {
        mode = Mode.STANDARD;
        if (Constants.IS_LOGGABLE) {
            Log.i(Constants.LOG_TAG, "Activity mode is set to standard");
        }
    }

    if (mode == Mode.LOCALE) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
            setupTitleApi11();
        } else {
            setTitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                    getString(R.string.app_name)));
        }
    }
}
 
开发者ID:dattas,项目名称:pebble-notifier,代码行数:28,代码来源:AbstractPluginActivity.java

示例11: setupActionBarApi11

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void setupActionBarApi11()
{
    getActionBar().setSubtitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                                                               getString(R.string.plugin_name)));
}
 
开发者ID:NightscoutFoundation,项目名称:xDrip,代码行数:7,代码来源:AbstractPluginActivity.java

示例12: setupActionBarApi11

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void setupActionBarApi11() {
    getActionBar().setSubtitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
            getString(R.string.souliss_app_name)));
}
 
开发者ID:souliss,项目名称:soulissapp,代码行数:6,代码来源:AbstractPluginActivity.java

示例13: setupActionBarApi11

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void setupActionBarApi11() {
    getActionBar().setSubtitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
            getString(R.string.powerswitch_plugin_name)));
}
 
开发者ID:Power-Switch,项目名称:PowerSwitch_Android,代码行数:6,代码来源:AbstractPluginActivity.java

示例14: setupActionBarApi11

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void setupActionBarApi11() {
    getActionBar().setSubtitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
            getString(R.string.app_name)));
}
 
开发者ID:wardellbagby,项目名称:Sensor-Disabler,代码行数:6,代码来源:AbstractPluginActivity.java

示例15: setupActionBarApi11

import com.twofortyfouram.locale.BreadCrumber; //导入依赖的package包/类
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private void setupActionBarApi11()
{
    getActionBar().setSubtitle(BreadCrumber.generateBreadcrumb(getApplicationContext(), getIntent(),
                                                               getString(R.string.app_name)));
}
 
开发者ID:joschi70,项目名称:AndroidPirateBox,代码行数:7,代码来源:AbstractPluginActivity.java


注:本文中的com.twofortyfouram.locale.BreadCrumber类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。