android.support.v17.leanback.widget.GuidanceStylist Java Examples
The following examples show how to use
android.support.v17.leanback.widget.GuidanceStylist.
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: WizardExample2ndStepFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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; }
Example #2
Source File: WizardExample1stStepFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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; }
Example #3
Source File: WizardExample4thStepFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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; }
Example #4
Source File: WizardExample3rdStepFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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; }
Example #5
Source File: WizardNewPaymentStepFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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; }
Example #6
Source File: PublishChannelFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@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); }
Example #7
Source File: PublishChannelFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@Override public GuidanceStylist onCreateGuidanceStylist() { return new GuidanceStylist() { @Override public int onProvideLayoutId() { return R.layout.setting_page; } }; }
Example #8
Source File: GuidedStepActivity.java From BuildingForAndroidTV with MIT License | 5 votes |
@Override public GuidanceStylist onCreateGuidanceStylist() { return new GuidanceStylist() { @Override public int onProvideLayoutId() { return R.layout.guidedstep_second_guidance; } }; }
Example #9
Source File: SettingsFragment.java From BuildingForAndroidTV with MIT License | 4 votes |
@NonNull @Override public GuidanceStylist.Guidance onCreateGuidance(Bundle savedInstanceState) { return new GuidanceStylist.Guidance(getString(R.string.settings_title), null, getString(R.string.app_name), null); }