When I set the navbar title in HTML or via JavaScript
... it will just not be displayed/shown on Android devices. Is this by design?
If yes: can we change/enable/override this behavior?
Thanks.
$("#resultsViewNavBar").data("kendoMobileNavBar").title(currentUser);
... it will just not be displayed/shown on Android devices. Is this by design?
If yes: can we change/enable/override this behavior?
Thanks.
4 Answers, 1 is accepted
0
Accepted
Hi Christian,
Yes, it is by design for Android - the titles should go in the top action bar in Android 4 (and Android 2 usually doesn't have titles at all), however the NavBar doesn't support action bar styling, at least yet. If you need to show it, you can override it with enough specificity (to avoid the !important and to constrain the style to Android):
.km-android .km-navbar div.km-view-title
{
display: inline-block;
}
Regards,
Kamen Bundev
the Telerik team
Yes, it is by design for Android - the titles should go in the top action bar in Android 4 (and Android 2 usually doesn't have titles at all), however the NavBar doesn't support action bar styling, at least yet. If you need to show it, you can override it with enough specificity (to avoid the !important and to constrain the style to Android):
.km-android .km-navbar div.km-view-title
{
display: inline-block;
}
Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Christian
Top achievements
Rank 1
Iron
answered on 06 Jun 2012, 07:24 AM
Hi Kamen,
wonderful - thanks for the quick and correct :) answer.
Cheers.
wonderful - thanks for the quick and correct :) answer.
Cheers.
0
N Mackay
Top achievements
Rank 1
answered on 12 Sep 2012, 11:31 AM
Hi Kamen,
That's a really useful tip.
might be worth adding to the documentation.
http://docs.kendoui.com/documentation/getting-started/mobile/navbar/overview
Thanks,
Norman.
That's a really useful tip.
might be worth adding to the documentation.
http://docs.kendoui.com/documentation/getting-started/mobile/navbar/overview
Thanks,
Norman.
0
Hi Norman,
That's a good suggestion, I've added the style to the NavBar Getting Started section, it will be live soon. It also includes the visibility: visible style that is needed in Q2 SP1 onwards.
Regards,
Kamen Bundev
the Telerik team
That's a good suggestion, I've added the style to the NavBar Getting Started section, it will be live soon. It also includes the visibility: visible style that is needed in Q2 SP1 onwards.
Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!