TtNavigationBar
A view that shows a navigation bar view.
By default, it shows a back button. Next to the back button is either a title or a number of breadcrumbs.
The breadcrumbs reflect the current back stack and allows clicking on the items in order to navigate back through the back stack.
All theme attributes used by this control are declared in com.tomtom.tools.android.core.theme
. To use this control, it is mandatory to define these attribute values.
NOTE: When the customer wants to use the navigation bar component, the ID of this component must be defined as R.id.tt_navigationbar
or it shouldn't be specified at all.
Parameters
The display context.
The attribute set provided in the layout XML file.
The default style attribute set. Use 0 to not look for defaults.
Constructors
Properties
A list of TtBreadcrumbs that should be shown within the navigation bar, if ttShowBreadcrumbs is true
.
Whether breadcrumbs should be shown or only a title. When this is set to true
, breadcrumbs are shown within the navigation bar. Otherwise ttTitle will be shown.