本文整理汇总了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)));
}
}
示例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)));
}
}
示例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)));
}
}
示例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);
}
示例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)));
}
}
示例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)));
}
}
示例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)));
}
}
示例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)));
}
}
示例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)));
}
}
示例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)));
}
}
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}
示例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)));
}