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


Java GuidanceStylist.Guidance方法代码示例

本文整理汇总了Java中android.support.v17.leanback.widget.GuidanceStylist.Guidance方法的典型用法代码示例。如果您正苦于以下问题:Java GuidanceStylist.Guidance方法的具体用法?Java GuidanceStylist.Guidance怎么用?Java GuidanceStylist.Guidance使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.support.v17.leanback.widget.GuidanceStylist的用法示例。


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

示例1: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@Override
@NonNull
public GuidanceStylist.Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) {
    String title = getString(R.string.login_fragment_title);
    String description = getString(R.string.login_fragment_description);
    return new GuidanceStylist.Guidance(title, description, "", null);
}
 
开发者ID:CrazyDude1994,项目名称:lostfilm-android-client,代码行数:8,代码来源:LoginFragment.java

示例2: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@Override
@NonNull
public GuidanceStylist.Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) {
    String title = getString(R.string.pref_title_screen_signin);
    String description = getString(R.string.pref_title_login_description);
    Drawable icon = getActivity().getDrawable(R.drawable.ic_main_icon);
    return new GuidanceStylist.Guidance(title, description, "", icon);
}
 
开发者ID:nejtv,项目名称:androidtv-sample,代码行数:9,代码来源:AuthenticationActivity.java

示例3: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    return new GuidanceStylist.Guidance(
            getString(R.string.rescan_when_opening_application),
            null, null,
            getResources().getDrawable(R.drawable.pref_nas_rescan));
}
 
开发者ID:archos-sa,项目名称:aos-Video,代码行数:9,代码来源:RescanWhenOpeningApplication.java

示例4: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    return new GuidanceStylist.Guidance(
            getString(R.string.scheduled_rescan),
            null,
            getString(R.string.rescan),
            getResources().getDrawable(R.drawable.pref_clock));
}
 
开发者ID:archos-sa,项目名称:aos-Video,代码行数:10,代码来源:ScheduledRescanPeriod.java

示例5: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    return new GuidanceStylist.Guidance(
            getString(R.string.scheduled_rescan_time),
            null,
            getString(R.string.scheduled_rescan_period),
            getResources().getDrawable(R.drawable.pref_clock));
}
 
开发者ID:archos-sa,项目名称:aos-Video,代码行数:10,代码来源:ScheduledRescanTime.java

示例6: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    return new GuidanceStylist.Guidance(
            getString(R.string.rescan),
            getString(R.string.rescan_description), "",
            getResources().getDrawable(R.drawable.pref_nas_rescan));
}
 
开发者ID:archos-sa,项目名称:aos-Video,代码行数:9,代码来源:RescanFragment.java

示例7: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    String title = getString(R.string.dvr_series_schedules_stop_dialog_title);
    String description = getString(R.string.dvr_series_schedules_stop_dialog_description);
    Drawable icon = getContext().getDrawable(R.drawable.ic_dvr_delete);
    return new GuidanceStylist.Guidance(title, description, null, icon);
}
 
开发者ID:trevd,项目名称:android_packages_apps_tv,代码行数:9,代码来源:DvrStopSeriesRecordingFragment.java

示例8: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    String title = getString(R.string.dvr_series_recording_dialog_title);
    Drawable icon;
    if (!mHasConflict) {
        icon = getResources().getDrawable(R.drawable.ic_check_circle_white_48dp, null);
    } else {
        icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null);
    }
    return new GuidanceStylist.Guidance(title, getDescription(), null, icon);
}
 
开发者ID:trevd,项目名称:android_packages_apps_tv,代码行数:12,代码来源:DvrSeriesScheduledFragment.java

示例9: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    GuidanceStylist.Guidance guidance = new GuidanceStylist.Guidance(mMovie.getTitle(),
            getString(R.string.wizard_example_rental_period),
            mMovie.getBreadcrump(), null);
    return guidance;

}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:10,代码来源:WizardExample2ndStepFragment.java

示例10: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    GuidanceStylist.Guidance guidance = new GuidanceStylist.Guidance(mMovie.getTitle(),
            getString(R.string.wizard_example_choose_rent_options),
            mMovie.getBreadcrump(), null);
    return guidance;
}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:9,代码来源:WizardExample1stStepFragment.java

示例11: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    GuidanceStylist.Guidance guidance = new GuidanceStylist.Guidance(mMovie.getTitle(),
            getString(R.string.wizard_example_rental_period),
            mMovie.getBreadcrump(), null);
    return guidance;
}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:9,代码来源:WizardExample4thStepFragment.java

示例12: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    GuidanceStylist.Guidance guidance = new GuidanceStylist.Guidance(mMovie.getTitle(),
            getString(R.string.wizard_example_just_a_second),
            mMovie.getBreadcrump(), null);
    return guidance;
}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:9,代码来源:WizardExample3rdStepFragment.java

示例13: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    String title = getString(R.string.wizard_example_new_payment_guidance_title);
    String description = getString(R.string.wizard_example_new_payment_guidance_description);
    String breadcrumb = mMovie.getBreadcrump();

    GuidanceStylist.Guidance guidance = new GuidanceStylist.Guidance(title, description,
            breadcrumb, null);
    return guidance;
}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:12,代码来源:WizardNewPaymentStepFragment.java

示例14: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@Override
@NonNull
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
    String title = getString(R.string.setting_page_title);
    String breadcrumb = getString(R.string.setting_page_breadcrumb);
    String description = getString(R.string.setting_page_description);
    Drawable icon = getActivity().getDrawable(R.drawable.title_android_tv);
    return new GuidanceStylist.Guidance(title, description, breadcrumb, icon);
}
 
开发者ID:googlesamples,项目名称:leanback-showcase,代码行数:10,代码来源:PublishChannelFragment.java

示例15: onCreateGuidance

import android.support.v17.leanback.widget.GuidanceStylist; //导入方法依赖的package包/类
@NonNull
@Override
public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) {
  Resources resources = getResources();
  String title = resources.getString(R.string.ondemand_settings_about);
  Drawable icon = resources.getDrawable(R.drawable.ic_info_outline_black_24dp, null);
  return new GuidanceStylist.Guidance(title, DESCRIPTION, BREADCRUMB, icon);
}
 
开发者ID:mkjensen,项目名称:danish-media-license,代码行数:9,代码来源:AboutFragment.java


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