B4J Question [ABMaterial] How to change NavigationBar Title font size?

stanmiller

Active Member
Licensed User
Longtime User
Is it possible to change the NavigationBar title font size?

I see a TopBarFontSize property but it does not appear to change the title size.
B4X:
MyTheme.NavigationBar("nav1theme").TopBarFontSize

Comparing ABMaterial to Google's material design site, the navigation bar sizes are similar but the ABM font is much larger.

https://material.google.com/material-design/elevation-shadows.html

The top window is ABMaterial while the bottom is Google.

1_abm_titlebar_font_size_zpsuzetw72c.jpg
 

stanmiller

Active Member
Licensed User
Longtime User
you might have to raise this wish on the feedback app..

This question is linked to contents of the navigation bar not being fully responsive. See this post:

https://www.b4x.com/android/forum/threads/abmaterial-navigationbar-crowding-and-overlap.72195/

According to the comments in the feedback submission, AB has addressed the crowding issue in the upcoming ABM v2.01 and will automatically downsize the title font and truncate as needed. Thus no need to manually adjust.
 
Last edited:
Upvote 0
Top