android.support.v17.leanback.widget.GuidanceStylist.Guidance Java Examples
The following examples show how to use
android.support.v17.leanback.widget.GuidanceStylist.Guidance.
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: SettingsActivity.java From alltv with MIT License | 5 votes |
@Override @NonNull public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getStringById(R.string.settings_title); String breadcrumb = getStringById(R.string.browse_title); String description = getStringById(R.string.settings_desc); Drawable icon = getActivity().getDrawable(R.drawable.settings_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #2
Source File: SettingsActivity.java From alltv with MIT License | 5 votes |
@Override @NonNull public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getStringById(R.string.pooqsettings); String breadcrumb = getStringById(R.string.browse_title); String description = getStringById(R.string.setdesc); Drawable icon = getActivity().getDrawable(R.drawable.wavve_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #3
Source File: SettingsActivity.java From alltv with MIT License | 5 votes |
@Override @NonNull public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getStringById(R.string.tvingsettings); String breadcrumb = getStringById(R.string.browse_title); String description = getStringById(R.string.setdesc); Drawable icon = getActivity().getDrawable(R.drawable.tving_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #4
Source File: SettingsActivity.java From alltv with MIT License | 5 votes |
@Override @NonNull public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getStringById(R.string.oksususettings); String breadcrumb = getStringById(R.string.browse_title); String description = getStringById(R.string.setdesc); Drawable icon = getActivity().getDrawable(R.drawable.oksusu_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #5
Source File: DialogExampleFragment.java From leanback-showcase with Apache License 2.0 | 5 votes |
@NonNull @Override public Guidance onCreateGuidance(Bundle savedInstanceState) { Guidance guidance = new Guidance(getString(R.string.dialog_example_title), getString(R.string.dialog_example_description), "", null); return guidance; }
Example #6
Source File: RichSetupFragment.java From androidtv-sample-inputs with Apache License 2.0 | 5 votes |
@Override public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getString(R.string.rich_input_label); String description = getString(R.string.tif_channel_setup_description); Drawable icon = getActivity().getDrawable(R.drawable.android_48dp); return new Guidance(title, description, null, icon); }
Example #7
Source File: FirstStepFragment.java From androidtv-sample-inputs with Apache License 2.0 | 5 votes |
@Override @NonNull public Guidance onCreateGuidance(@NonNull Bundle savedInstanceState) { String title = getString(R.string.rich_input_label); String description = getString(R.string.rich_setup_first_step_description); Drawable icon = getActivity().getDrawable(R.drawable.android_48dp); return new Guidance(title, description, null, icon); }
Example #8
Source File: GuidedStepActivity.java From BuildingForAndroidTV with MIT License | 5 votes |
@Override public Guidance onCreateGuidance(Bundle savedInstanceState) { String title = getString(R.string.guidedstep_first_title); String breadcrumb = getString(R.string.guidedstep_first_breadcrumb); String description = getString(R.string.guidedstep_first_description); Drawable icon = getActivity().getDrawable(R.drawable.ic_main_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #9
Source File: GuidedStepActivity.java From BuildingForAndroidTV with MIT License | 5 votes |
@Override public Guidance onCreateGuidance(Bundle savedInstanceState) { String title = getString(R.string.guidedstep_second_title); String breadcrumb = getString(R.string.guidedstep_second_breadcrumb); String description = getString(R.string.guidedstep_second_description); Drawable icon = getActivity().getDrawable(R.drawable.ic_main_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #10
Source File: GuidedStepActivity.java From BuildingForAndroidTV with MIT License | 5 votes |
@Override public Guidance onCreateGuidance(Bundle savedInstanceState) { String title = getString(R.string.guidedstep_third_title); String breadcrumb = getString(R.string.guidedstep_third_breadcrumb); String description = getString(R.string.guidedstep_third_command) + OPTION_NAMES[mOption]; Drawable icon = getActivity().getDrawable(R.drawable.ic_main_icon); return new Guidance(title, description, breadcrumb, icon); }
Example #11
Source File: ChannelSetupStepFragment.java From androidtv-sample-inputs with Apache License 2.0 | 4 votes |
@Override public Guidance onCreateGuidance(Bundle savedInstanceState) { String title = getString(R.string.tif_channel_setup_title); String description = getString(R.string.tif_channel_setup_description); return new Guidance(title, description, null, null); }
Example #12
Source File: ChannelSetupStepSupportFragment.java From androidtv-sample-inputs with Apache License 2.0 | 4 votes |
@Override public Guidance onCreateGuidance(Bundle savedInstanceState) { String title = getString(R.string.tif_channel_setup_title); String description = getString(R.string.tif_channel_setup_description); return new Guidance(title, description, null, null); }